[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CY5PR11MB625703D8CC3F26441A4E73DD9701A@CY5PR11MB6257.namprd11.prod.outlook.com>
Date: Thu, 27 Jul 2023 03:18:31 +0000
From: "Lu, Brent" <brent.lu@...el.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
CC: "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"Rojewski, Cezary" <cezary.rojewski@...el.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Mark Brown <broonie@...nel.org>,
"Jaroslav Kysela" <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Ajye Huang <ajye_huang@...pal.corp-partner.google.com>,
"Zhi, Yong" <yong.zhi@...el.com>,
Terry Cheong <htcheong@...omium.org>,
"Bhat, Uday M" <uday.m.bhat@...el.com>,
"Chiang, Mac" <mac.chiang@...el.com>,
"R, Dharageswari" <dharageswari.r@...el.com>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
ye xingchen <ye.xingchen@....com.cn>
Subject: RE: [PATCH v2 1/2] ASoC: Intel: maxim-common: get codec number from
ACPI
>
> > + pr_err("invalid codec number %d for %s\n", num_codecs,
> > + MAX_98390_ACPI_HID);
>
> I believe you have struct device pointer available, use dev_err().
>
Fixed in V3 patch. Thanks.
Regards,
Brent
Powered by blists - more mailing lists