We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0a689 commit 22946f3Copy full SHA for 22946f3
sound/soc/meson/g12a-tohdmitx.c
@@ -8,6 +8,7 @@
8
#include <linux/module.h>
9
#include <sound/pcm_params.h>
10
#include <linux/regmap.h>
11
+#include <linux/reset.h>
12
#include <sound/soc.h>
13
#include <sound/soc-dai.h>
14
@@ -378,6 +379,11 @@ static int g12a_tohdmitx_probe(struct platform_device *pdev)
378
379
struct device *dev = &pdev->dev;
380
void __iomem *regs;
381
struct regmap *map;
382
+ int ret;
383
+
384
+ ret = device_reset(dev);
385
+ if (ret)
386
+ return ret;
387
388
regs = devm_platform_ioremap_resource(pdev, 0);
389
if (IS_ERR(regs))
0 commit comments