android_kernel_oneplus_msm8998/drivers/net/ieee802154
Alexander Aring 77fec8bc7a fakelb: fix schedule while atomic
commit bdca1fd9a6df745857e23c6056494b7fe062b4e6 upstream.

This patch changes the spinlock to mutex for the available fakelb phy
list. When holding the spinlock the ieee802154_unregister_hw is called
which holding the rtnl_mutex, in that case we get a "BUG: sleeping function
called from invalid context" error. We simple change the spinlock to
mutex which allows to hold the rtnl lock there.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 09:57:15 +08:00
..
at86rf230.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
at86rf230.h at86rf230: add debugfs support 2015-09-17 13:20:05 +02:00
atusb.c ieee802154: atusb: do not use the stack for buffers to make them DMA able 2017-01-26 08:23:48 +01:00
atusb.h ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
cc2520.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
fakelb.c fakelb: fix schedule while atomic 2017-03-15 09:57:15 +08:00
Kconfig mrf24j40: add regmap support 2015-09-22 11:51:22 +02:00
Makefile ieee802154: add support for atusb transceiver 2015-05-19 11:44:45 +02:00
mrf24j40.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00