git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: wm8804: Remove unneeded gpiod NULL check
[sfrench/cifs-2.6.git]
/
sound
/
soc
/
codecs
/
wm8804.c
diff --git
a/sound/soc/codecs/wm8804.c
b/sound/soc/codecs/wm8804.c
index af95d648265b3e92e345101542b332aee35191d4..fc69b87443d80489382b97332de6d5ad12a58ec8 100644
(file)
--- a/
sound/soc/codecs/wm8804.c
+++ b/
sound/soc/codecs/wm8804.c
@@
-623,8
+623,7
@@
int wm8804_probe(struct device *dev, struct regmap *regmap)
return ret;
}
- if (wm8804->reset)
- gpiod_set_value_cansleep(wm8804->reset, 1);
+ gpiod_set_value_cansleep(wm8804->reset, 1);
ret = regmap_read(regmap, WM8804_RST_DEVID1, &id1);
if (ret < 0) {