summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154/Kconfig
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2019-03-20 15:02:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-04 09:15:19 +0200
commit79b7bb03cd4675bc7383420c15281cecf5fb6466 (patch)
treef4228bdb3c7a18e98ef04a4608051bdabef9de6b /drivers/net/ieee802154/Kconfig
parentfce7c596c8bd726c07c09008134fa1ea9baceea1 (diff)
net: ks8851: Reassert reset pin if chip ID check fails
[ Upstream commit 761cfa979a0c177d6c2d93ef5585cd79ae49a7d5 ] Commit 73fdeb82e963 ("net: ks8851: Add optional vdd_io regulator and reset gpio") amended the ks8851 driver to briefly assert the chip's reset pin on probe. It also amended the probe routine's error path to reassert the reset pin if a subsequent initialization step fails. However the commit misplaced reassertion of the reset pin in the error path such that it is not performed if the check of the Chip ID and Enable Register (CIDER) fails. The error path is therefore slightly asymmetrical to the probe routine's body. Fix it. Signed-off-by: Lukas Wunner <lukas@wunner.de> Cc: Frank Pavlic <f.pavlic@kunbus.de> Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ieee802154/Kconfig')
0 files changed, 0 insertions, 0 deletions