[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YlxyvvvWAEc+kRNM@google.com>
Date: Sun, 17 Apr 2022 13:04:14 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Miaoqian Lin <linmq006@...il.com>
Cc: "G, Manjunath Kondaiah" <manjugk@...com>,
Felipe Balbi <balbi@...com>,
"Poddar, Sourav" <sourav.poddar@...com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
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@...il.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists