Merge "ASoC: wsa881x: Assign device number in reset"

This commit is contained in:
Linux Build Service Account 2017-07-12 03:29:33 -07:00 committed by Gerrit - the friendly Code Review server
commit d03efe4d51

View file

@ -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;