[alsa-devel] [PATCH v2] Add support for tlv320aic3007 to tlv320aic3x codec.
Mark Brown
broonie at opensource.wolfsonmicro.com
Fri Aug 20 17:02:11 CEST 2010
On Fri, Aug 20, 2010 at 10:58:20PM +0800, Randolph Chung wrote:
> > The more idiomatic way to write this stuff is:
> > ? ? ? ?{ "tlv320aic3007", AIC3X_MODEL_3007 }
> > and then look at the id field in the probe() function. ?Could you send a
> > followup patch doing that, please?
> The second field in that struct is normally the i2c address, so this
> seems a bit confusing...
Are you sure about that? The definition of that struct is:
struct i2c_device_id {
char name[I2C_NAME_SIZE];
kernel_ulong_t driver_data /* Data private to the driver */
__attribute__((aligned(sizeof(kernel_ulong_t))));
};
More information about the Alsa-devel
mailing list