ASoC: imx-audmux: remove unnecessary check of clk_disable_unprepare/clk_prepare_enable
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 6 Jun 2022 03:37:05 +0000 (03:37 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jun 2022 10:57:46 +0000 (11:57 +0100)
commit142d456204cf4dabe18be59e043d806440f609d4
tree52ac922c074a870b6755711dc1500be3876ca42d
parentd3d8feadcc54c28015b62436a1f69d1080b85fb5
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>
sound/soc/fsl/imx-audmux.c