From: Andy Gross Date: Mon, 29 Sep 2014 22:00:51 +0000 (-0500) Subject: i2c: qup: Fix order of runtime pm initialization X-Git-Tag: fixes-for-v3.18-merge-window~42^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b59bbfae2a895aa26b3d15f31b1a705dbfede1;p=pandora-kernel.git 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 Reviewed-by: Felipe Balbi Acked-by: Bjorn Andersson Signed-off-by: Wolfram Sang Cc: stable@kernel.org --- Reading git-diff-tree failed