commit | 025ffe88ee605acb03dba0d920908dff5ec15dd0 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Mar 24 17:43:21 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Mar 24 09:32:48 2015 -0700 |
tree | b7be19cbb5b42d13996dfc48dc1f9a503fc3e747 | |
parent | 22d1b94d4b04878a6d1514a21af04699bd27e0ce [diff] |
spi: pxa2xx: shift clk_div in one place This patch refactors ssp_get_clk_div() and pxa2xx_ssp_get_clk_div() to align clk_div calculations, i.e. ssp_get_clk_div() and quark_x1000_set_clk_regvals() will return plain clk_div and it will be shifted to proper position in pxa2xx_ssp_get_clk_div(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>