Hi!

On Tue, Sep 22, 2020 at 12:37 AM Felix Fietkau <[email protected]> wrote:
> You could try making a global spinlock in ag71xx_mdio.c and do
> spin_lock_bh(&mdio_lock) in ag71xx_mdio_mii_read and ag71xx_mdio_mii_write

I've just tried that and it doesn't work.
Should I move local_irq_save below mutex_lock and send a v2 or
do you have other suggestions?
-- 
Regards,
Chuanhong Guo

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to