summaryrefslogtreecommitdiffstats
path: root/lib/devres.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-11-05 21:06:15 +0100
committerStephen Boyd <sboyd@kernel.org>2023-12-17 14:10:08 -0800
commit29d861b5d29b6c80a887e93ad982cbbf4af2a06b (patch)
tree3d921129fbdd6c255db76d826a9c4802a514dd8c /lib/devres.c
parent2fbabea626b6467eb4e6c4cb7a16523da12e43b4 (diff)
downloadlinux-stable-29d861b5d29b6c80a887e93ad982cbbf4af2a06b.tar.gz
linux-stable-29d861b5d29b6c80a887e93ad982cbbf4af2a06b.tar.bz2
linux-stable-29d861b5d29b6c80a887e93ad982cbbf4af2a06b.zip
clk: rs9: Fix DIF OEn bit placement on 9FGV0241
On 9FGV0241, the DIF OE0 is BIT(1) and DIF OE1 is BIT(2), on the other chips like 9FGV0441 and 9FGV0841 DIF OE0 is BIT(0) and so on. Increment the index in BIT() macro instead of the result of BIT() macro to shift the bit correctly on 9FGV0241. Fixes: 603df193ec51 ("clk: rs9: Support device specific dif bit calculation") Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Link: https://lore.kernel.org/r/20231105200642.62792-1-marek.vasut+renesas@mailbox.org Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions