]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit560bfe774f058e97596f30ff71cffdac52b72914
tree593b5525b0fff3aa0a47a4c62d655e8fcf4ae1df
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
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: 36c684936fae ("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