[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57f313fe-fb8e-8b4b-8839-d9d8653880d1@amd.com>
Date: Mon, 11 Oct 2021 11:48:40 +0530
From: "Mukunda,Vijendar" <vijendar.mukunda@....com>
To: Mark Brown <broonie@...nel.org>
Cc: alsa-devel@...a-project.org, Alexander.Deucher@....com,
Sunil-kumar.Dommati@....com, David.Rhodes@...rus.com,
wtli@...oton.com, Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] ASoc: amd: create platform device for VG machine
driver
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.
Powered by blists - more mailing lists