lkml.org 
[lkml]   [2021]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] ASoc: amd: create platform device for VG machine driver
From
Date
On 10/11/21 11:19 PM, Mark Brown wrote:
> On Tue, Oct 12, 2021 at 12:17:01AM +0530, Vijendar Mukunda wrote:
>
>> pdevinfo[2].res = &adata->res[2];
>>
>> + pdevinfo[3].name = "acp5x_nu8821_cs35l41_mach";
>> + pdevinfo[3].id = 0;
>> + pdevinfo[3].parent = &pci->dev;
>
> This appears to unconditionally assume that any machine with this
> hardware is going to have exactly the same CODEC/amp combination - that
> seems like it's going to go badly at some point. Shouldn't there be
> some other check that we're instantiating the right machine driver?
>

we will make the platform device as generic one something like "acp5x_mach".

Currently we have only one target platform with above codec combinations
for this APU series.

When we get new codecs combinations to support, we will address it in
machine driver by adding DMI checks for distinguishing codec combinations.



> BTW your clock appears to be set quite a way into the future (possibly
> about 24 hours?) which is confusing things.
>

Will fix the system time settings.

\
 
 \ /
  Last update: 2021-10-11 20:19    [W:0.103 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site