ASoC: pcm512x: Rearrange operations in `hw_params()`
authorKirill Marinushkin <kmarinushkin@birdec.com>
Sun, 15 Nov 2020 12:23:04 +0000 (13:23 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2020 20:03:23 +0000 (20:03 +0000)
commit798714b6121d833c8abe4161761a94fdd1e73a90
tree2cd9f92135a9a5a492421cfc56db5d8e7ec63bbd
parent6feaaa7c19bde25595e03bf883953f85711e4ac8
ASoC: pcm512x: Rearrange operations in `hw_params()`

This commit is a preparation for the next patch in the series.
It's goal is to make format check easy-to-move-out. Theoretically, more
butifications are possile in `hw_params()` func, but my intention in this
commit is to keep behaviour unchanged.

Signed-off-by: Kirill Marinushkin <kmarinushkin@birdec.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Matthias Reichl <hias@horus.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: alsa-devel@alsa-project.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201115122306.18164-3-kmarinushkin@birdec.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm512x.c