From: Paul Parsons Date: Mon, 9 Apr 2012 12:18:31 +0000 (+0100) Subject: mfd: Set asic3 DS1WM clock_rate X-Git-Tag: v3.5-rc1~51^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f304245bb6cfa665ff21b12c059499eafa8b725;p=pandora-kernel.git mfd: Set asic3 DS1WM clock_rate The mfd/asic3 driver does not set the ds1wm_driver_data clock_rate field before passing the structure to the DS1WM w1 busmaster driver. This was not noticed before commit 26a6afb, because ds1wm_find_divisor() unintentionally returned the correct divisor when a zero clock_rate was passed in. However after that commit DS1WM fails a zero clock_rate: ds1wm ds1wm: no suitable divisor for 0Hz clock This patch sets the ds1wm_driver_data clock_rate field. Signed-off-by: Paul Parsons Acked-by: Philipp Zabel Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed