]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a15d79faf60e91099835bb172322fd1843228c7
tree9e819539400de956dcf1deb58e94bbdb0de3ece8
parentf3334a386efb68217db66a057be42a423eebcdd9
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