linux-sg2042/drivers/clk/ti
Krzysztof Kozlowski e0cdcda508 clk: ti: dra7-atl-clock: Fix possible ERR_PTR dereference
of_clk_get_from_provider() returns ERR_PTR on failure. The
dra7-atl-clock driver was not checking its return value and
immediately used it in __clk_get_hw().  __clk_get_hw()
dereferences supplied clock, if it is not NULL, so in that case
it would dereference an ERR_PTR.

Fixes: 9ac33b0ce8 ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2015-05-14 14:04:18 -07:00
..
Makefile clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
apll.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
autoidle.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
clk-2xxx.c ARM: OMAP2: clock: add DT boot support for cpufreq_ck 2014-05-28 13:05:57 +03:00
clk-3xxx-legacy.c clk: ti: clk-3xxx-legacy: Correct McBSP related clock aliases 2015-03-24 20:23:50 +02:00
clk-3xxx.c clk: ti: clk-3xxx: Correct McBSP related DT clock definitions 2015-03-24 20:23:50 +02:00
clk-7xx.c clk: ti: DRA7: Add timer_sys_ck aliases for Timers 13 through 16 2015-03-24 20:23:51 +02:00
clk-33xx.c clk: ti: am335x: remove unecessary cpu0 clk node 2014-02-24 22:56:38 -08:00
clk-43xx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
clk-44xx.c clk: ti: OMAP4: Remove the legacy timer DT clock aliases 2015-03-24 20:23:50 +02:00
clk-54xx.c clk: ti: OMAP5: Correct the DT clock aliases for timers 2015-03-24 20:23:50 +02:00
clk-816x.c clk: ti: Initialize clocks for dm816x 2015-01-20 10:09:08 -08:00
clk-dra7-atl.c clk: ti: dra7-atl-clock: Fix possible ERR_PTR dereference 2015-05-14 14:04:18 -07:00
clk.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
clock.h clk: ti: composite: add support for legacy composite clock init 2015-01-30 10:55:15 -08:00
clockdomain.c clk: constify of_device_id array 2015-04-01 10:59:27 -07:00
composite.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
divider.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
dpll.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
fapll.c Merge branch 'for-4.1-clk-ti' of github.com:t-kristo/linux-pm into clk-next 2015-03-24 16:47:43 -07:00
fixed-factor.c clk: ti: add support for TI fixed factor clock 2014-01-17 12:35:07 -08:00
gate.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
interface.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
mux.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00