Re: [alsa-devel] [PATCH] ASoC: codecs: da9055: Update driver name tofix breakage due to pmic driver with same name

From: Mark Brown
Date: Fri Jul 05 2013 - 07:45:43 EST


On Fri, Jul 05, 2013 at 05:17:42PM +0530, Ashish Chavan wrote:
> This patch updates i2c driver name and device id of da9055 codec driver.
> DA9055 is a PMIC + CODEC and currently, the corresponding PMIC driver
> also registers itself with the same name as codec, i.e. "da9055".
> Because of this the codec driver was broken. Now codec driver uses
> "da9055-codec" as driver name instead of "da9055".

> static const struct i2c_device_id da9055_i2c_id[] = {
> - { "da9055", 0 },
> + { "da9055-codec", 0 },
> { }
> };

I can't believe that you've tested this.

Attachment: signature.asc
Description: Digital signature