summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-12 03:29:33 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-12 03:29:32 -0700
commitd03efe4d51a0f3911b685d377998a817c323ff01 (patch)
treec105e3da1342cce92de34c7564606f9b5e2cfac8
parent3629cb733f815af1ac307f3159da4256da09d2d6 (diff)
parent93f219af2df8c09e889d2123a6057ac618cce10f (diff)
Merge "ASoC: wsa881x: Assign device number in reset"
-rw-r--r--sound/soc/codecs/wsa881x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c
index fe975a7dbe4e..058f6c5fa676 100644
--- a/sound/soc/codecs/wsa881x.c
+++ b/sound/soc/codecs/wsa881x.c
@@ -1365,6 +1365,7 @@ static int wsa881x_swr_reset(struct swr_device *pdev)
/* Retry after 1 msec delay */
usleep_range(1000, 1100);
}
+ pdev->dev_num = devnum;
regcache_mark_dirty(wsa881x->regmap);
regcache_sync(wsa881x->regmap);
return 0;