diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-09 19:49:58 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-03-09 19:50:18 +0100 |
commit | cf4afed90c1f926d12277213b54d830c839a1bda (patch) | |
tree | b1c7319e85443d097634ef6a3d4623afc64188cb /sound/soc/meson/g12a-tohdmitx.c | |
parent | ALSA: firewire: use KBUILD_MODNAME for struct driver.name instead of string (diff) | |
parent | ALSA: line6: Fix endless MIDI read loop (diff) | |
download | wireguard-linux-cf4afed90c1f926d12277213b54d830c839a1bda.tar.xz wireguard-linux-cf4afed90c1f926d12277213b54d830c839a1bda.zip |
Merge branch 'for-linus' into for-next
Back-merge of 5.6 devel branch for further changes in 5.7 cycle
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/meson/g12a-tohdmitx.c')
-rw-r--r-- | sound/soc/meson/g12a-tohdmitx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/meson/g12a-tohdmitx.c b/sound/soc/meson/g12a-tohdmitx.c index 9cfbd343a00c..8a0db28a6a40 100644 --- a/sound/soc/meson/g12a-tohdmitx.c +++ b/sound/soc/meson/g12a-tohdmitx.c @@ -8,6 +8,7 @@ #include <linux/module.h> #include <sound/pcm_params.h> #include <linux/regmap.h> +#include <linux/reset.h> #include <sound/soc.h> #include <sound/soc-dai.h> @@ -378,6 +379,11 @@ static int g12a_tohdmitx_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; void __iomem *regs; struct regmap *map; + int ret; + + ret = device_reset(dev); + if (ret) + return ret; regs = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(regs)) |