linux_dsm_epyc7002/drivers/clk
Stephen Boyd 2ac6b1f50a clk: Don't return negative numbers for unsigned values with !clk
Some of the helper functions return negative error codes if
passed a NULL clock. This can lead to confusing behavior when the
expected return value is unsigned. Fix up these accessors so that
they return unsigned values (or bool in the case of is_enabled).
This way we can't interpret NULL clocks as having valid and
interesting values.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2012-10-29 11:05:03 -07:00
..
mmp clk: mmp: add clock definition for mmp2 2012-08-28 14:15:42 -07:00
mxs spi: Updates for v3.7 2012-10-02 17:26:42 -07:00
socfpga ARM: socfpga: initial support for Altera's SOCFPGA platform 2012-07-19 10:39:00 +02:00
spear clk: SPEAr: Vco-pll: Fix compilation warning 2012-10-29 11:04:34 -07:00
ux500 clk: ux500: Define smp_twd clock for u8500 2012-09-06 18:00:42 -07:00
versatile clk: convert ARM RealView to common clk 2012-08-24 17:42:10 -07:00
clk-bcm2835.c ARM: bcm2835: add stub clock driver 2012-09-19 19:08:53 -06:00
clk-devres.c ARM: 7537/1: clk: Fix release in devm_clk_put() 2012-09-19 21:51:27 +01:00
clk-divider.c clk: Add CLK_IS_BASIC flag to identify basic clocks 2012-07-11 15:36:43 -07:00
clk-fixed-factor.c clk: Add CLK_IS_BASIC flag to identify basic clocks 2012-07-11 15:36:43 -07:00
clk-fixed-rate.c clk: add DT fixed-clock binding support 2012-07-11 17:58:46 -07:00
clk-gate.c clk: Add CLK_IS_BASIC flag to identify basic clocks 2012-07-11 15:36:43 -07:00
clk-highbank.c clk: add highbank clock support 2012-07-11 17:58:47 -07:00
clk-ls1x.c clk: add Loongson1B clock support 2012-08-31 11:05:18 -07:00
clk-max77686.c clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator. 2012-09-06 16:55:38 -07:00
clk-mux.c clk: Add CLK_IS_BASIC flag to identify basic clocks 2012-07-11 15:36:43 -07:00
clk-nomadik.c ARM: nomadik: convert to generic clock 2012-06-10 18:41:40 +02:00
clk-prima2.c clk: prima2: move from arch/arm/mach to drivers/clk 2012-08-24 12:10:04 -07:00
clk-u300.c ARM: u300: convert to common clock 2012-07-11 15:36:45 -07:00
clk-vt8500.c arm: vt8500: clk: Add Common Clock Framework support 2012-09-21 19:23:57 +12:00
clk-wm831x.c clk: wm831x: Add initial WM831x clock driver 2012-07-11 15:36:44 -07:00
clk.c clk: Don't return negative numbers for unsigned values with !clk 2012-10-29 11:05:03 -07:00
clkdev.c ARM: 7534/1: clk: Make the managed clk functions generically available 2012-09-15 21:55:27 +01:00
Kconfig clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator. 2012-09-06 16:55:38 -07:00
Makefile ARM: soc: device tree updates 2012-10-01 18:28:06 -07:00