ASoC: nau8824: fix the issue of the widget with prefix name
authorJohn Hsu <KCHSU0@nuvoton.com>
Mon, 11 Mar 2019 01:36:45 +0000 (09:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 May 2019 15:54:06 +0000 (17:54 +0200)
commitc2119de4ed41b51c791b44d85af1c513b4655c08
tree4954f26f0aeace8ec1d225aa87baf06f74a2d506
parent29f1b976152044e0e7fa0743b8a9cd73f10b573d
ASoC: nau8824: fix the issue of the widget with prefix name

[ Upstream commit 844a4a362dbec166b44d6b9b3dd45b08cb273703 ]

The driver has two issues when machine add prefix name for codec.
(1)The stream name of DAI can't find the AIF widgets.
(2)The drivr can enable/disalbe the MICBIAS and SAR widgets.

The patch will fix these issues caused by prefixed name added.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/nau8824.c