[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221101093902.GH92394@ediswmail.ad.cirrus.com>
Date: Tue, 1 Nov 2022 09:39:02 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Peter Bergin <peter@...ginkonsult.se>
CC: <james.schulman@...rus.com>, <david.rhodes@...rus.com>,
<tanureal@...nsource.cirrus.com>, <rf@...nsource.cirrus.com>,
<broonie@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, <alsa-devel@...a-project.org>,
<patches@...nsource.cirrus.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] ASoC: cs42xx8-i2c.c: add module device table for of
On Mon, Oct 31, 2022 at 09:37:23PM +0100, Peter Bergin wrote:
> When trying to connect the device with the driver through
> device-tree it is not working. The of_device_id is defined in
> cs42xx8.c but is not correctly included in cs42xx8-i2c.c.
>
> Move of_device_id table to cs42xx8-i2c.c. Get cs42xx8_driver_data
> in cs42xx8_i2c_probe() and pass as argument to cs42xx8_probe(). Move
> error check if no driver data found to cs42xx8_i2c_probe().
>
> Signed-off-by: Peter Bergin <peter@...ginkonsult.se>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists