projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2317e84
)
ASoC: rt5682: remove unwanted btn_type assignment
author
Tzung-Bi Shih
<tzungbi@google.com>
Thu, 30 Apr 2020 08:22:31 +0000
(16:22 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 30 Apr 2020 13:06:53 +0000
(14:06 +0100)
The following dev_err() is intended to print unexpected btn_type.
Removes the unwanted btn_type assignment.
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link:
https://lore.kernel.org/r/20200430082231.151127-7-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5682.c
b/sound/soc/codecs/rt5682.c
index 19fb9f1d8f496b0a0e193e0bdf2bda353fea6d6f..5d3b11756a345ee991957f98c9a3b98cb61f8e82 100644
(file)
--- a/
sound/soc/codecs/rt5682.c
+++ b/
sound/soc/codecs/rt5682.c
@@
-1134,7
+1134,6
@@
static void rt5682_jack_detect_handler(struct work_struct *work)
case 0x0000: /* unpressed */
break;
default:
- btn_type = 0;
dev_err(rt5682->component->dev,
"Unexpected button code 0x%04x\n",
btn_type);