Re: [PATCH] ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare

2021-01-12 Thread Mark Brown
On Fri, 8 Jan 2021 08:44:56 +, Xu Wang wrote: > Because clk_disable_unprepare() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC:

RE: [PATCH] ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare

2021-01-08 Thread Sa, Nuno
: [PATCH] ASoC: adau17x1: Remove redundant null check > before clk_disable_unprepare > > > Because clk_disable_unprepare() already checked NULL clock > parameter, > so the additional check is unnecessary, just remove it. > > Signed-off-by: Xu Wang > --- > sound/soc/co

[PATCH] ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare

2021-01-08 Thread Xu Wang
Because clk_disable_unprepare() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- sound/soc/codecs/adau17x1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/adau17x1.c