Re: [PATCH 3/3] i2c: change the id to let the i2c-gpio work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Mark,

On 10/11/2012 15:11, Mark Brown wrote:
On Thu, Oct 11, 2012 at 10:38:17AM +0800, Bo Shen wrote:

  static struct platform_device at91sam9260_twi_device = {
  	.name			= "i2c-gpio",
-	.id			= -1,
+	.id			= 0,
  	.dev.platform_data	= &pdata,
  };

Why would this have any effect on the operation of the i2c-gpio driver?
This suggests i2c-gpio is buggy.

This cause i2c devices can not register to the i2c bus which the device want.

I will send this patch to i2c maintainer.

Thanks

BR,
Bo Shen

--
To unsubscribe from this list: send the line "unsubscribe linux-sound" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux