diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-02-19 17:51:14 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-20 11:34:24 -0800 |
commit | 1b328a2e095a009518ebac05e937cc0fc242fede (patch) | |
tree | 2cc85a0f9758fa9e181a871f4d818189ee8ff223 /lib/dynamic_debug.c | |
parent | 05c3ae7aa13084d31b5109e7e8d7c74e305b325f (diff) | |
download | linux-1b328a2e095a009518ebac05e937cc0fc242fede.tar.gz linux-1b328a2e095a009518ebac05e937cc0fc242fede.tar.bz2 linux-1b328a2e095a009518ebac05e937cc0fc242fede.zip |
clk: at91: fix at91sam9x5 peripheral clock number
nck() looks at the last id in an array and unfortunately,
at91sam9x35_periphck has a sentinel, hence the id is 0 and the calculated
number of peripheral clocks is 1 instead of a maximum of 31.
Fixes: 1eabdc2f9dd8 ("clk: at91: add at91sam9x5 PMCs driver")
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: <stable@vger.kernel.org> # v4.20+
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions