staging: hikey9xx: hi6421-spmi-pmic: fix IRQ handler code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 29 Jan 2021 19:51:52 +0000 (20:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jan 2021 12:44:35 +0000 (13:44 +0100)
commit8d126356316f03f0dce2475754d4aa5c6c7ea00f
tree85e8238595ed7afb7acb1393d176cdcc119ee3a9
parent9d8dbe989029e6d767ed56773ac65409da625381
staging: hikey9xx: hi6421-spmi-pmic: fix IRQ handler code

The conversion to regmap introduced a regression at the code
which reads from the IRQ register. Address that.

Fixes: fb02e3ebfb2d ("staging: hikey9xx: spmi driver: convert to regmap")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/2eae710c333a8ee6f9e0a086c84115bc90a782ca.1611949675.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c