Skip to content
Commit afafaa2a authored by Marek Vasut's avatar Marek Vasut
Browse files

clk: renesas: Pack reset identifier before look up



The reset identifier must be processed via MOD_CLK_PACK() before it is
used to look up register and bit within reset_regs or reset_clear_regs
arrays, otherwise completely bogus register and bit is picked from the
arrays, one which may even be out of range.

Fixes: 326e05c5 ("clk: renesas: Add and enable CPG reset driver")
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
parent 318af476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment