linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* i2c-eg20t: regression since i2c_add_numbered_adapter change
@ 2012-08-22  6:30 Alexander Stein
  2012-08-22  7:29 ` Feng Tang
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Stein @ 2012-08-22  6:30 UTC (permalink / raw)
  To: linux-i2c
  Cc: linux-kernel, Jean Delvare (PC drivers, core),
	Ben Dooks (embedded platforms),
	Feng Tang, Tomoya MORINAGA

Hello,

I just noticed the 3.4 linux kernel fails to sucessfully probe the i2c-eg20t 
driver. I returns with EBUSY error. It worked on the 3.0 kernel. To my view it 
is caused the commit 07e8a51ff68353e01d795cceafbac9f54c49132b ( i2c-eg20t: use 
i2c_add_numbered_adapter to get a fixed bus number).
The reason it actually fails is that the i2c-isch driver is registered 
beforehand which gets bus number 0. But this one is the bus number the eg20t 
driver wants to register.
A possibility is that if i2c_add_numbered_adapter failed with EBUSY just use 
i2c_add_adapter to get at least the driver working, but with a non-fixed bus 
number. Opinions?

Best regards,
Alexander


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-09-08 13:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-22  6:30 i2c-eg20t: regression since i2c_add_numbered_adapter change Alexander Stein
2012-08-22  7:29 ` Feng Tang
2012-08-22  7:57   ` Alexander Stein
2012-08-22  8:04     ` Feng Tang
2012-08-22  9:17       ` Alexander Stein
2012-08-23  8:28         ` Feng Tang
2012-08-29 18:40           ` Jean Delvare
2012-08-30  7:49             ` Alexander Stein
2012-08-30  9:19               ` Feng Tang
2012-08-30 11:08                 ` Alexander Stein
2012-08-31  2:16                   ` Feng Tang
2012-09-08 13:18               ` Jean Delvare
2012-08-30  9:10             ` Feng Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).