From: Viresh Kumar Date: Tue, 9 Dec 2014 05:48:51 +0000 (+0530) Subject: PM / OPP: set new_opp->dev_opp to a valid dev_opp X-Git-Tag: omap-for-v3.19/fixes-rc1~33^2~4^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7284a00f17290114d304528fc49aeee5c2b9b433;p=pandora-kernel.git PM / OPP: set new_opp->dev_opp to a valid dev_opp We find/allocate dev_opp after using its value to fill new_opp->dev_opp right now. Move this to a later point where dev_opp is valid. Fixes: a7470db6fec4 (PM / OPP don't match for existing OPPs when list is empty) Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed