summaryrefslogtreecommitdiffstats
path: root/fs/isofs
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-01-22 22:17:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-04 11:37:59 +0100
commit87f6600119a1358166b43416fc33c25b63c8edd7 (patch)
treed13a94562189abcafc661a8ff4dc65405b9c057d /fs/isofs
parent564c05da080fe9d074998aace5cb1749a28c1274 (diff)
downloadlinux-stable-87f6600119a1358166b43416fc33c25b63c8edd7.tar.gz
linux-stable-87f6600119a1358166b43416fc33c25b63c8edd7.tar.bz2
linux-stable-87f6600119a1358166b43416fc33c25b63c8edd7.zip
power: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable
[ Upstream commit 6996312642d2dad3070c3d276c7621f35e721f30 ] The IRQ=0 could be a valid interrupt number in kernel because interrupt numbers are virtual in a modern kernel. Hence fix the interrupt usage in a case if interrupt is unavailable by not overriding the interrupt number which is used by the driver. Note that currently Nexus 7 is the only know device which uses SMB347 kernel diver and it has a properly working interrupt, hence this patch doesn't fix any real problems, it's a minor cleanup/improvement. Fixes: 99298de5df92 ("power: supply: smb347-charger: Replace mutex with IRQ disable/enable") Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions