]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: sun4i-i2s: Replace call to params_width by local variable
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Aug 2019 13:06:55 +0000 (15:06 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 21 Aug 2019 13:16:56 +0000 (14:16 +0100)
commit84884c7ad5e8794aa19e48eaa8de93f4e1d26af9
tree07f38aad65417dec5350a417754ebb8f51834cd7
parent9e8a93ac27d101e0ace024196a4bc3386568cc00
ASoC: sun4i-i2s: Replace call to params_width by local variable

The sun4i_i2s_hw_params function already has a variable holding the value
returned by params_width, so let's just use that variable instead of
calling params_width multiple times.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://lore.kernel.org/r/f85a1c1e014080a4bbc3abd19bc8fdcb86f0981a.1566392800.git-series.maxime.ripard@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c