clk: si5351: fix .recalc_rate for multisynth 6-7
authorSergej Sawazki <ce3a@gmx.de>
Mon, 11 May 2015 08:44:59 +0000 (10:44 +0200)
committerMichael Turquette <mturquette@linaro.org>
Wed, 13 May 2015 18:52:06 +0000 (11:52 -0700)
commit45b03d3e88c2068644e377cf08fc480208700b85
tree05b82e082bd7f9b607a46625897dbe3fef106640
parent2073b5e909b96f8fbc9b8a40b89c1fa316fb092c
clk: si5351: fix .recalc_rate for multisynth 6-7

MS6 and MS7 do not have the MSx_P3 field. Do the 'params.p3 == 0'
check for MS0-M5 only. See [AN619, p. 6] for details.

Referenced document:
[AN619] Manually Generating an Si5351 Register Map, Rev. 0.4

Signed-off-by: Sergej Sawazki <ce3a@gmx.de>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk-si5351.c