linux-stable/drivers/net/ieee802154
Alexander Aring d907c4f05c at86rf230: fix at86rf230_read_subreg succeed handling
This patch fix an issue when at86rf230_read_subreg was successful. The
function at86rf230_read_subreg will directly call regmap_read which
returns zero on successful. Nobody figured out issues yet because it was
only necessary to evaluate dvdd state while probing. This could make
trouble because the stack variable could have an random value.

The function is also used by reset the irq line before requesting irq, but
the value isn't evaluated afterwards.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-03-17 16:30:57 +01:00
..
at86rf230.c at86rf230: fix at86rf230_read_subreg succeed handling 2015-03-17 16:30:57 +01:00
cc2520.c ieee802154: cc2520: Fix space before , coding style issue 2015-02-02 06:09:35 +01:00
fakelb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig ieee802154: remove fakehard driver 2014-10-25 21:55:37 +02:00
Makefile ieee802154: remove fakehard driver 2014-10-25 21:55:37 +02:00
mrf24j40.c ieee802154/mrf24j40: Fix alignment of parenthesis 2014-12-19 00:19:25 +01:00