lkml.org 
[lkml]   [2021]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 05/13] extcon: arizona: Always use pm_runtime_get_sync() when we need the device to be awake
    On Sat, Jan 23, 2021 at 01:13:05PM +0100, Hans de Goede wrote:
    > Before this commit the extcon-arizona code was mixing pm_runtime_get()
    > and pm_runtime_get_sync() in different places.
    >
    > In all places where pm_runtime_get[_sync]() is called, the code
    > makes use of the device immediately after the call.
    > This means that we should always use pm_runtime_get_sync().
    >
    > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
    > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    > ---

    Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>

    Thanks,
    Charles

    \
     
     \ /
      Last update: 2021-01-23 17:45    [W:3.201 / U:0.324 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site