From: Yegor Yefremov Date: Wed, 18 Jan 2017 10:35:57 +0000 (+0100) Subject: can: ti_hecc: add missing prepare and unprepare of the clock X-Git-Tag: v3.2.87~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab2c7cff5bff714f742edf93f9cc3c002edbb0d8;p=pandora-kernel.git can: ti_hecc: add missing prepare and unprepare of the clock commit befa60113ce7ea270cb51eada28443ca2756f480 upstream. In order to make the driver work with the common clock framework, this patch converts the clk_enable()/clk_disable() to clk_prepare_enable()/clk_disable_unprepare(). Also add error checking for clk_prepare_enable(). Signed-off-by: Yegor Yefremov Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed