]> 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)
commit9faaeb69609d3de1e5ae94b6d0a25b7448a52a23
treeda60579629b0bb02a31cb688d93070d0d1c7e9ab
parentc8225a33546268555bbd9486ab5fd9da99eed05c
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