forked from luck/tmp_suning_uos_patched
64ffbfb1d7
[ Upstream commit 95d3befbc5e1ee39fc8a78713924cf7ed2b3cabe ]
cz_da7219_init() does not check the return values of clk_get(),
while da7219_clk_enable() calls clk_set_rate() to dereference
the pointers.
Add checks to fix the problems.
Also, change clk_get() to devm_clk_get() to avoid data leak after
failures.
Fixes:
|
||
---|---|---|
.. | ||
include | ||
raven | ||
renoir | ||
acp-da7219-max98357a.c | ||
acp-pcm-dma.c | ||
acp-rt5645.c | ||
acp.h | ||
acp3x-rt5682-max9836.c | ||
Kconfig | ||
Makefile |