aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-05-20 10:40:35 +0300
committerMark Brown <broonie@kernel.org>2015-05-20 10:55:10 +0100
commit2d52d172398249f523b24cff9b84aee4e7b8e1b6 (patch)
treeb3520141a58adb3a2a4aba6738b15f9fbd186330 /sound/soc/soc-core.c
parentc354b54cfdf63587154da4fa0731c1fbda44c589 (diff)
ASoC: wm8741: check for error returns from wm8741_set_pdata()
Static checkers complain that "ret" is always zero so the conditions are never true. The intention here was clearly to check for errors from wm8741_set_pdata(). Although, since wm8741_set_pdata() never returns errors, it doesn't affect runtime. Fixes: c354b54cfdf6 ('ASoC: wm8741: Add differential mono mode support') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions