ASoC: rockchip: fix a misjudgement by return
authorXing Zheng <zhengxing@rock-chips.com>
Tue, 25 Aug 2015 07:52:42 +0000 (15:52 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2015 11:13:19 +0000 (12:13 +0100)
commitf8ce20005d1694584448cd544be5fb32416a277c
tree4174c6055a8baf722db895567fb5a3d881477b12
parentebb75c0bdba238013976b53e256f8d13216304e4
ASoC: rockchip: fix a misjudgement by return

Being careless, judge the return value of snd_soc_card_jack_new
is opposite, so it should be fixed.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_rt5645.c