Messages in this thread |  | | Date | Sun, 17 Apr 2022 13:04:14 -0700 | From | Dmitry Torokhov <> | Subject | Re: [PATCH] Input: omap4-keypad - Fix pm_runtime_get_sync() error checking |
| |
On Tue, Apr 12, 2022 at 07:01:26AM +0000, Miaoqian Lin wrote: > 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 <linmq006@gmail.com>
Applied, thank you.
-- Dmitry
|  |