i2c: designware-platdrv: enable RuntimePM before registering to the core
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 9 Oct 2015 09:39:24 +0000 (10:39 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Oct 2015 12:28:07 +0000 (14:28 +0200)
commit36d48fb5766aee9717e429f772046696b215282d
tree9e819539400de956dcf1deb58e94bbdb0de3ece8
parenteadd709f5d2e8aebb1b7bf49460e97a68d81a9b0
i2c: designware-platdrv: 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.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-designware-platdrv.c