[alsa-devel] [PATCH 01/11] ASoC: rt5651: Avoid duplicating DMI quirks between codec and machine driver

Mark Brown broonie at kernel.org
Thu Feb 22 12:35:48 CET 2018


On Thu, Feb 22, 2018 at 12:08:29PM +0100, Hans de Goede wrote:

> So thinking more about this I think that having the codec driver only
> check device-properties and completely killing platform_data is the best
> way forward / best way to clean this up.

> Combined with either device-tree or the machine driver setting these device
> properties for now, and in the future the ACPI tables can set these properties
> directly and we can hopefully won't need to add new quirks to the machine
> driver.

The device properties thing seems reasonable enough.  I'm still not
super convinced the machine driver is the right place, but let's see the
code.  I think ideally the arch code would have a way to put all the
device property based quirks for these systems like we IIRC do for some
DT fixups.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180222/677a50fb/attachment.sig>


More information about the Alsa-devel mailing list