Merge branch 'topic/drm_audio_component' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-4.19
Este commit está contenido en:
@@ -937,7 +937,7 @@ static int skl_tplg_find_moduleid_from_uuid(struct skl *skl,
|
||||
struct soc_bytes_ext *sb = (void *) k->private_value;
|
||||
struct skl_algo_data *bc = (struct skl_algo_data *)sb->dobj.private;
|
||||
struct skl_kpb_params *uuid_params, *params;
|
||||
struct hdac_bus *bus = ebus_to_hbus(skl_to_ebus(skl));
|
||||
struct hdac_bus *bus = skl_to_bus(skl);
|
||||
int i, size, module_id;
|
||||
|
||||
if (bc->set_params == SKL_PARAM_BIND && bc->max) {
|
||||
@@ -3032,9 +3032,8 @@ static int skl_tplg_widget_load(struct snd_soc_component *cmpnt, int index,
|
||||
struct snd_soc_tplg_dapm_widget *tplg_w)
|
||||
{
|
||||
int ret;
|
||||
struct hdac_ext_bus *ebus = snd_soc_component_get_drvdata(cmpnt);
|
||||
struct skl *skl = ebus_to_skl(ebus);
|
||||
struct hdac_bus *bus = ebus_to_hbus(ebus);
|
||||
struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt);
|
||||
struct skl *skl = bus_to_skl(bus);
|
||||
struct skl_module_cfg *mconfig;
|
||||
|
||||
if (!tplg_w->priv.size)
|
||||
@@ -3141,8 +3140,7 @@ static int skl_tplg_control_load(struct snd_soc_component *cmpnt,
|
||||
struct soc_bytes_ext *sb;
|
||||
struct snd_soc_tplg_bytes_control *tplg_bc;
|
||||
struct snd_soc_tplg_enum_control *tplg_ec;
|
||||
struct hdac_ext_bus *ebus = snd_soc_component_get_drvdata(cmpnt);
|
||||
struct hdac_bus *bus = ebus_to_hbus(ebus);
|
||||
struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt);
|
||||
struct soc_enum *se;
|
||||
|
||||
switch (hdr->ops.info) {
|
||||
@@ -3626,9 +3624,8 @@ static int skl_tplg_get_manifest_data(struct snd_soc_tplg_manifest *manifest,
|
||||
static int skl_manifest_load(struct snd_soc_component *cmpnt, int index,
|
||||
struct snd_soc_tplg_manifest *manifest)
|
||||
{
|
||||
struct hdac_ext_bus *ebus = snd_soc_component_get_drvdata(cmpnt);
|
||||
struct hdac_bus *bus = ebus_to_hbus(ebus);
|
||||
struct skl *skl = ebus_to_skl(ebus);
|
||||
struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt);
|
||||
struct skl *skl = bus_to_skl(bus);
|
||||
|
||||
/* proceed only if we have private data defined */
|
||||
if (manifest->priv.size == 0)
|
||||
@@ -3717,12 +3714,11 @@ static void skl_tplg_set_pipe_type(struct skl *skl, struct skl_pipe *pipe)
|
||||
/*
|
||||
* SKL topology init routine
|
||||
*/
|
||||
int skl_tplg_init(struct snd_soc_component *component, struct hdac_ext_bus *ebus)
|
||||
int skl_tplg_init(struct snd_soc_component *component, struct hdac_bus *bus)
|
||||
{
|
||||
int ret;
|
||||
const struct firmware *fw;
|
||||
struct hdac_bus *bus = ebus_to_hbus(ebus);
|
||||
struct skl *skl = ebus_to_skl(ebus);
|
||||
struct skl *skl = bus_to_skl(bus);
|
||||
struct skl_pipeline *ppl;
|
||||
|
||||
ret = request_firmware(&fw, skl->tplg_name, bus->dev);
|
||||
|
Referencia en una nueva incidencia
Block a user