diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-05-20 10:40:35 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-20 12:55:10 +0300 |
commit | 2d52d172398249f523b24cff9b84aee4e7b8e1b6 (patch) | |
tree | b3520141a58adb3a2a4aba6738b15f9fbd186330 /sound/pci/ice1712/quartet.c | |
parent | c354b54cfdf63587154da4fa0731c1fbda44c589 (diff) | |
download | linux-2d52d172398249f523b24cff9b84aee4e7b8e1b6.tar.xz |
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/pci/ice1712/quartet.c')
0 files changed, 0 insertions, 0 deletions