diff options
author | Minghao Chi <chi.minghao@zte.com.cn> | 2022-06-06 06:37:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-09 13:57:46 +0300 |
commit | 142d456204cf4dabe18be59e043d806440f609d4 (patch) | |
tree | 52ac922c074a870b6755711dc1500be3876ca42d /sound/soc/soc-core.c | |
parent | d3d8feadcc54c28015b62436a1f69d1080b85fb5 (diff) | |
download | linux-142d456204cf4dabe18be59e043d806440f609d4.tar.xz |
ASoC: imx-audmux: remove unnecessary check of clk_disable_unprepare/clk_prepare_enable
Because clk_disable_unprepare/clk_prepare_enable already checked NULL clock
parameter, so the additional checks are unnecessary, just remove them.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220606033705.291048-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions