aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-04-17 13:03:31 -0700
committerDmitry Torokhov <[email protected]>2022-04-17 13:13:34 -0700
commit81022a170462d38ea10612cb67e8e2c529d58abe (patch)
tree9ad7e48a5141390ccebe37e75717a3715294a06f /lib/mpi/mpiutil.c
parentfd0a4b39870d49ff15f6966470185409e261f20f (diff)
Input: omap4-keypad - fix pm_runtime_get_sync() error checking
If the device is already in a runtime PM enabled state pm_runtime_get_sync() will return 1, so a test for negative value should be used to check for errors. Fixes: f77621cc640a ("Input: omap-keypad - dynamically handle register offsets") Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions