diff options
author | John Hsu <KCHSU0@nuvoton.com> | 2016-08-04 11:52:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-04 23:58:57 +0300 |
commit | 06746c672cdd60715ee57ab1aced95a9e536fd4d (patch) | |
tree | c1464f742922cd935fab79f22a7edf245522b01c /tools/perf/util/jitdump.c | |
parent | ca6ac305f017472a172e53345264abdb495eba46 (diff) | |
download | linux-06746c672cdd60715ee57ab1aced95a9e536fd4d.tar.xz |
ASoC: nau8825: fix static check error about semaphone control
The patch is to fix the static check error as the following.
The patch commit b50455fab459 ("ASoC: nau8825: cross talk suppression
measurement function") from Jun 7, 2016, leads to the following
static checker warning:
sound/soc/codecs/nau8825.c:265 nau8825_sema_acquire()
warn: 'sem:&nau8825->xtalk_sem' is sometimes locked here and
sometimes unlocked.
The semaphone acquire function has return value, and some callers
can do error handling when lock fails.
Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/jitdump.c')
0 files changed, 0 insertions, 0 deletions