asoc: use ASoC API to set driver component name prefix
during devm_snd_soc_register_card(), the name_prefix can be set if "sound-name-prefix" is provided in the DT nodes. The original approach to set prefix would possibly cause ASoC component probe failed if prefix has not set before probe is called Change-Id: Ie78d042cda24b7d1d926223d476786e13d965ac7 Signed-off-by: Junkai Cai <quic_junkai@quicinc.com>
Этот коммит содержится в:

коммит произвёл
Gerrit - the friendly Code Review server

родитель
7795165e0a
Коммит
97e37eeee3
@@ -165,7 +165,6 @@ struct wsa884x_priv {
|
||||
int num_supplies;
|
||||
struct regulator_bulk_data *supplies;
|
||||
unsigned long status_mask;
|
||||
char *wsa884x_name_prefix;
|
||||
struct snd_soc_dai_driver *dai_driver;
|
||||
struct snd_soc_component_driver *driver;
|
||||
};
|
||||
|
Ссылка в новой задаче
Block a user