OSDN Git Service

i2c: xiic: Fix the clocking across bind unbind
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 9 Jan 2020 11:38:00 +0000 (17:08 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 15 Jan 2020 20:13:40 +0000 (21:13 +0100)
commit10b17004a74c384c6f410af355b0d6d7a168f613
tree1d7c7ead24046e813638f07ab35f9e76fdd1db42
parentc9d059681b846f5d0a280950ea4dc58495b9b7a9
i2c: xiic: Fix the clocking across bind unbind

The recommendation is that the set_active should be done
with pm runtime disabled.
Also fix the remove path for clocking.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c