Re: [PATCH v3] i2c: s3c2410: enable RuntimePM before registering to the core
From: Kukjin Kim
Date: Mon Oct 12 2015 - 15:15:32 EST
On 10/10/15 16:24, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
>
> The core may register clients attached to this master which may use
> funtionality from the master. So, RuntimePM must be enabled before, otherwise
> this will fail. While here, move drvdata, too.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Looks good to me,
Acked-by: Kukjin Kim <kgene@xxxxxxxxxx>
Thanks,
Kukjin
> ---
>
> Changes since v2: don't call runtime pm on adaper if it wasn't registered
>
> Thanks to Krzysztof for testing!
>
> drivers/i2c/busses/i2c-s3c2410.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/