linux-stable/drivers/clk/tegra
Arnd Bergmann 976126f2de clk: tegra20: fix gcc-7 constant overflow warning
[ Upstream commit b4a2adbf35 ]

Older gcc versions get confused by comparing a u32 value to a negative
constant in a switch()/case block:

drivers/clk/tegra/clk-tegra20.c: In function 'tegra20_clk_measure_input_freq':
drivers/clk/tegra/clk-tegra20.c:581:2: error: case label does not reduce to an integer constant
  case OSC_CTRL_OSC_FREQ_12MHZ:
  ^~~~
drivers/clk/tegra/clk-tegra20.c:593:2: error: case label does not reduce to an integer constant
  case OSC_CTRL_OSC_FREQ_26MHZ:

Make the constants unsigned instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230227085914.2560984-1-arnd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-06 14:45:05 +00:00
..
clk-audio-sync.c
clk-bpmp.c clk: tegra: fix error return case for recalc_rate 2023-10-06 14:56:47 +02:00
clk-device.c clk: tegra: Support runtime PM and power domain 2021-12-15 18:55:21 +01:00
clk-dfll.c clk: tegra: Update kerneldoc to match prototypes 2022-05-06 10:56:00 +02:00
clk-dfll.h
clk-divider.c clk: tegra: divider: Check UART's divider enable-bit state on rate's recalculation 2020-01-10 15:50:05 +01:00
clk-id.h clk: tegra: Fix duplicated SE clock entry 2020-12-10 12:51:59 -08:00
clk-periph-fixed.c
clk-periph-gate.c clk: tegra: Don't deassert reset on enabling clocks 2021-05-31 15:16:46 +02:00
clk-periph.c clk: tegra: Fix refcounting of gate clocks 2021-05-31 15:16:24 +02:00
clk-pll-out.c
clk-pll.c clk: tegra: Support runtime PM and power domain 2021-12-15 18:55:21 +01:00
clk-sdmmc-mux.c clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops 2021-07-27 14:54:19 -07:00
clk-super.c clk: tegra: Support runtime PM and power domain 2021-12-15 18:55:21 +01:00
clk-tegra-audio.c
clk-tegra-fixed.c clk: tegra: Remove CLK_M_DIV fixed clocks 2020-03-12 11:33:32 +01:00
clk-tegra-periph.c clk: tegra: Remove CLK_IS_CRITICAL flag from fuse clock 2021-08-11 11:57:01 +02:00
clk-tegra-super-cclk.c clk: tegra: cclk: Handle thermal DIV2 CPU frequency throttling 2021-05-31 15:16:26 +02:00
clk-tegra-super-gen4.c
clk-tegra20-emc.c clk: tegra: Export Tegra20 EMC kernel symbols 2020-11-06 19:24:04 +01:00
clk-tegra20.c clk: tegra20: fix gcc-7 constant overflow warning 2024-03-06 14:45:05 +00:00
clk-tegra30.c clk: tegra: Fix Tegra PWM parent clock 2022-10-14 13:44:24 -07:00
clk-tegra114.c clk: tegra: Fix Tegra PWM parent clock 2022-10-14 13:44:24 -07:00
clk-tegra124-dfll-fcpu.c clk: tegra: clk-tegra124-dfll-fcpu: don't use devm functions for regulator 2021-06-25 16:23:07 -07:00
clk-tegra124-emc.c clk: tegra: tegra124-emc: Fix potential memory leak 2023-07-19 16:21:30 +02:00
clk-tegra124.c clk: tegra: Fix Tegra PWM parent clock 2022-10-14 13:44:24 -07:00
clk-tegra210-emc.c This pull request contains zero diff to the core framework. It is a collection 2020-10-22 12:53:28 -07:00
clk-tegra210.c clk: tegra: Fix Tegra PWM parent clock 2022-10-14 13:44:24 -07:00
clk-utils.c
clk.c clk: tegra: Support runtime PM and power domain 2021-12-15 18:55:21 +01:00
clk.h clk: tegra: Support runtime PM and power domain 2021-12-15 18:55:21 +01:00
cvb.c clk: tegra: cvb: Provide missing description for 'tegra_cvb_add_opp_table()'s align param 2021-02-11 11:56:05 -08:00
cvb.h
Kconfig memory: tegra124-emc: Make driver modular 2021-01-05 18:00:09 +01:00
Makefile clk: tegra: Support runtime PM and power domain 2021-12-15 18:55:21 +01:00