Commit 7f28469c authored by Andy Gross's avatar Andy Gross Committed by Greg Kroah-Hartman
Browse files

i2c: qup: Fix order of runtime pm initialization



commit 86b59bbf upstream.

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: default avatarAndy Gross <agross@codeaurora.org>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Acked-by: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9203e7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment