linux/drivers/clk/tegra
Thierry Reding 5e43e25917 clk: tegra: Register the proper number of resets
The number of resets controls is 32 times the number of peripheral
register banks rather than 32 times the number of clocks. This reduces
(drastically) the number of reset controls registered from 10080 (315
clocks * 32) to 224 (6 peripheral register banks * 32).

This also fixes a potential crash because trying to use any of the
excess reset controls (224-10079) would have caused accesses beyond
the array bounds of the peripheral register banks definition array.

Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
Fixes: 6d5b988e7d ("clk: tegra: implement a reset driver")
Cc: stable@vger.kernel.org # 3.14+
Signed-off-by: Thierry Reding <treding@nvidia.com>
2015-04-10 16:04:18 +02:00
..
clk-audio-sync.c clk: tegra: add Tegra specific clocks 2013-01-28 11:19:07 -07:00
clk-divider.c clk: tegra: Implement memory-controller clock 2014-11-26 09:43:23 +01:00
clk-id.h clk: tegra: Define PLLD_DSI and remove dsia(b)_mux 2015-02-02 16:22:34 +02:00
clk-periph-gate.c ARM: tegra: Move includes to include/soc/tegra 2014-07-17 13:26:47 +02:00
clk-periph.c clk: Replace explicit clk assignment with __clk_hw_set_clk 2015-02-18 09:40:11 -08:00
clk-pll-out.c clk: tegra: add Tegra specific clocks 2013-01-28 11:19:07 -07:00
clk-pll.c clk: tegra: Remove needless initializations 2015-04-10 16:04:18 +02:00
clk-super.c clk: tegra: Implement locking for super clock 2013-02-12 10:29:12 -07:00
clk-tegra20.c clk: tegra: Implement memory-controller clock 2014-11-26 09:43:23 +01:00
clk-tegra30.c clk: tegra: Use consistent indentation 2015-04-10 16:04:10 +02:00
clk-tegra114.c clk: tegra: Various whitespace cleanups 2015-04-10 16:03:48 +02:00
clk-tegra124.c clk: tegra: Enable HDA to HDMI clocks on Tegra124 2015-04-10 16:03:47 +02:00
clk-tegra-audio.c clk: tegra: move audio clk to common file 2013-11-26 18:46:24 +02:00
clk-tegra-fixed.c clk: tegra: move PMC, fixed clocks to common files 2013-11-26 18:46:49 +02:00
clk-tegra-periph.c clk: tegra: Fix a bunch of sparse warnings 2015-04-10 16:03:41 +02:00
clk-tegra-pmc.c clk: tegra: move PMC, fixed clocks to common files 2013-11-26 18:46:49 +02:00
clk-tegra-super-gen4.c clk: tegra: cclk_lp has a pllx/2 divider 2014-02-17 16:18:28 +02:00
clk.c clk: tegra: Register the proper number of resets 2015-04-10 16:04:18 +02:00
clk.h clk: tegra: Fix typo tabel -> table 2015-04-10 16:02:08 +02:00
Makefile clk: tegra: Add support for the Tegra132 CAR IP block 2015-02-02 15:47:53 +02:00