commit | 86b59bbfae2a895aa26b3d15f31b1a705dbfede1 | [log] [tgz] |
---|---|---|
author | Andy Gross <agross@codeaurora.org> | Mon Sep 29 17:00:51 2014 -0500 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Oct 03 03:20:47 2014 +0200 |
tree | 83f5493517b86e852c97faa13f7403c950617e5d | |
parent | cf27020d2f253bac6457d6833b97141030f0122a [diff] |
i2c: qup: Fix order of runtime pm initialization The runtime pm calls need to be done before populating the children via the i2c_add_adapter call. If this is not done, a child can run into issues trying to do i2c read/writes due to the pm_runtime_sync failing. Signed-off-by: Andy Gross <agross@codeaurora.org> Reviewed-by: Felipe Balbi <balbi@ti.com> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org