[alsa-devel] [PATCH] ASoC: rt286: Add API to set supported jack type

Bard Liao bardliao at realtek.com
Thu Aug 7 03:43:24 CEST 2014


> -----Original Message-----
> From: Mark Brown [mailto:broonie at kernel.org]
> Sent: Thursday, August 07, 2014 4:54 AM
> To: Bard Liao
> Cc: lgirdwood at gmail.com; alsa-devel at alsa-project.org; lars at metafoo.de;
> Flove; Oder Chiou
> Subject: Re: [PATCH] ASoC: rt286: Add API to set supported jack type
> 
> On Tue, Aug 05, 2014 at 01:52:50PM +0800, bardliao at realtek.com wrote:
> > From: Bard Liao <bardliao at realtek.com>
> >
> > RT286 need to configure the jack type (combo or non-combo) according
> > to the HW design. This function is given a easy way to set the correct
> > jacy type for those without platform data supported.
> 
> If this is coming from the hardware design I'd expect this to be configured
> via platform data or firmware data rather than with an API.
> Why do it this way?

Actually, this patch is for Intel platform which doesn't support platform data
yet. That's why we create an API so they can call the API in machine driver.

> 
> ------Please consider the environment before printing this e-mail.


More information about the Alsa-devel mailing list