[Sound-open-firmware] [PATCH 1/2] topology: change virtual widget types to non-DSP ones

Keyon Jie yang.jie at linux.intel.com
Thu May 24 10:15:57 CEST 2018



On 2018年05月24日 10:50, rander.wang wrote:
> 
> On 5/24/2018 10:17 AM, Keyon Jie wrote:
>>
>>
>> On 2018年05月24日 10:14, Keyon Jie wrote:
>>> This means they won't be sent to firmware for components creation.
>>>
>>> Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
>>> ---
>>> Test with:
>>> APL-MRB with tdf8532 codec
>>> Linux topic/sof-v4.14: 0de0fcb1d077c3c2c3b06a6c64e85f14b7e75c0b
>>> SOF master: e5dab2ada6ef98dbc6224863110cc86b5839ea01
>>> Tool master: b4f3670870ba5a933c3ec58a51b59ff9ef8b3588
>>
>> Hi Rander, I didn't test this for cnl-rt274 yet, can you help check if 
>> this will break the virtual widgets and routes on cnl-rt274?
>>
>> Thanks,
>> ~Keyon
>>
> 
>       yes, it works on cnl.

Thanks for acknowledge Rander.

~Keyon

> 
>>> ---
>>>   topology/m4/utils.m4 | 6 +++---
>>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/topology/m4/utils.m4 b/topology/m4/utils.m4
>>> index 8b397b6..73faae6 100644
>>> --- a/topology/m4/utils.m4
>>> +++ b/topology/m4/utils.m4
>>> @@ -74,7 +74,7 @@ dnl VIRTUAL_DAPM_ROUTE_OUT(name, dai type, dai 
>>> index, direction, index)
>>>   define(`VIRTUAL_DAPM_ROUTE_OUT',
>>>   `SectionWidget.STR($1) {'
>>>   `       index STR($5)'
>>> -`       type "aif_out"'
>>> +`       type "output"'
>>>   `       no_pm "true"'
>>>   `}'
>>>   `SectionGraph.STR($2) {'
>>> @@ -89,7 +89,7 @@ dnl VIRTUAL_DAPM_ROUTE_IN(name, dai type, dai 
>>> index, direction, index)
>>>   define(`VIRTUAL_DAPM_ROUTE_IN',
>>>   `SectionWidget.STR($1) {'
>>>   `       index STR($5)'
>>> -`       type "aif_in"'
>>> +`       type "input"'
>>>   `       no_pm "true"'
>>>   `}'
>>>   `SectionGraph.STR($2) {'
>>> @@ -104,7 +104,7 @@ dnl VIRTUAL_WIDGET(name, index)
>>>   define(`VIRTUAL_WIDGET',
>>>   `SectionWidget.STR($1) {'
>>>   `       index STR($2)'
>>> -`       type "mixer"'
>>> +`       type "out_drv"'
>>>   `       no_pm "true"'
>>>   `}')
>>>
>> _______________________________________________
>> Sound-open-firmware mailing list
>> Sound-open-firmware at alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
> 


More information about the Sound-open-firmware mailing list