From: Daniel Drake Date: Mon, 17 Jun 2013 15:30:36 +0000 (-0400) Subject: i2c-pxa: prepare clock before use X-Git-Tag: v3.11-rc1~87^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a10f4732972b48f75a547a42f9cdfef340124a6;p=pandora-kernel.git i2c-pxa: prepare clock before use On OLPC XO-1.75 (MMP2), a WARN_ON() was occurring during boot since the clock being enabled by i2c-pxa had not been prepared. Use clk_prepare_enable() to ensure that the prepare operation has taken place, and use clk_disable_unprepare() in the matching shutdown paths. Signed-off-by: Daniel Drake Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed