]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: s3c2410: enable RuntimePM before registering to the core
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 10 Oct 2015 07:24:23 +0000 (08:24 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Oct 2015 12:26:07 +0000 (14:26 +0200)
commitf3334a386efb68217db66a057be42a423eebcdd9
treeda60579629b0bb02a31cb688d93070d0d1c7e9ab
parentfafab4171636483476b2836631545ad3508ac7bb
i2c: s3c2410: enable RuntimePM before registering to the core

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@sang-engineering.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-s3c2410.c