]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun8i-codec: Invert Master / Slave condition
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 8 Nov 2017 15:47:08 +0000 (16:47 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Nov 2017 18:25:48 +0000 (18:25 +0000)
commit6b7871220084a6d0d57ed1f7fb74217a0304eab0
tree593b5525b0fff3aa0a47a4c62d655e8fcf4ae1df
parent2018862bdad13479b663e0e9615d7c6fcaa89285
ASoC: sun8i-codec: Invert Master / Slave condition

The current code had the condition backward when checking if the codec
should be running in slave or master mode.

Fix it, and make the comment a bit more readable.

Fixes: 34e3582f60fb ("ASoC: Add sun8i digital audio codec")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: <stable@vger.kernel.org>
sound/soc/sunxi/sun8i-codec.c