summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/ltc3815.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2021-09-23 09:24:49 +0930
committerStephen Boyd <sboyd@kernel.org>2021-11-03 19:42:35 -0700
commitf45c5b1c27293f834682e89003f88b3512329ab4 (patch)
tree4daadeee8bdf19a8c14f07c30b46ffd64b4c63bd /drivers/hwmon/pmbus/ltc3815.c
parentc54ce354637058202621d55fec2ccba3fe62a219 (diff)
downloadlinux-f45c5b1c27293f834682e89003f88b3512329ab4.tar.gz
linux-f45c5b1c27293f834682e89003f88b3512329ab4.tar.bz2
linux-f45c5b1c27293f834682e89003f88b3512329ab4.zip
clk/ast2600: Fix soc revision for AHB
Move the soc revision parsing to the initial probe, saving the driver from parsing the register multiple times. Use this variable to select the correct divisor table for the AHB clock. Before this fix the A2 would have used the A0 table. Fixes: 2d491066ccd4 ("clk: ast2600: Fix AHB clock divider for A1") Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20210922235449.213631-1-joel@jms.id.au Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/hwmon/pmbus/ltc3815.c')
0 files changed, 0 insertions, 0 deletions