Re: [PATCH] i2c: Allow i2c_add_numbered_adapter() to assign a bus id.

2011-07-06 Thread Jean Delvare
On Wed, 6 Jul 2011 00:37:46 -0600, Grant Likely wrote: > Actually, now that I'm looking at things, I don't think there will be > a conflict. Go ahead and take it via your tree so that I don't make > Linus' life harder than it needs to be. OK, I've added the patch to my quilt series for the time b

Re: [PATCH] i2c: Allow i2c_add_numbered_adapter() to assign a bus id.

2011-07-05 Thread Grant Likely
On Tue, Jul 05, 2011 at 10:53:30AM +0200, Jean Delvare wrote: > Hi Grant, > > Sorry for the late answer. > > On Mon, 27 Jun 2011 13:02:45 -0600, Grant Likely wrote: > > On Mon, Jun 27, 2011 at 12:55 PM, Grant Likely > > wrote: > > > Currently, if an i2c bus driver supports both static and dynami

Re: [PATCH] i2c: Allow i2c_add_numbered_adapter() to assign a bus id.

2011-07-05 Thread Grant Likely
On Tue, Jul 5, 2011 at 2:53 AM, Jean Delvare wrote: > Hi Grant, > > Sorry for the late answer. > > On Mon, 27 Jun 2011 13:02:45 -0600, Grant Likely wrote: >> On Mon, Jun 27, 2011 at 12:55 PM, Grant Likely >> wrote: >> > Currently, if an i2c bus driver supports both static and dynamic bus >> > ids

Re: [PATCH] i2c: Allow i2c_add_numbered_adapter() to assign a bus id.

2011-07-05 Thread Jean Delvare
Hi Grant, Sorry for the late answer. On Mon, 27 Jun 2011 13:02:45 -0600, Grant Likely wrote: > On Mon, Jun 27, 2011 at 12:55 PM, Grant Likely > wrote: > > Currently, if an i2c bus driver supports both static and dynamic bus > > ids, it needs to choose between calling i2c_add_numbered_adapter() a

Re: [PATCH] i2c: Allow i2c_add_numbered_adapter() to assign a bus id.

2011-06-27 Thread Grant Likely
On Mon, Jun 27, 2011 at 12:55 PM, Grant Likely wrote: > Currently, if an i2c bus driver supports both static and dynamic bus > ids, it needs to choose between calling i2c_add_numbered_adapter() and > i2c_add_adapter().  This patch makes i2c_add_numbered_adapter() > redirect to i2c_add_adapter() if

[PATCH] i2c: Allow i2c_add_numbered_adapter() to assign a bus id.

2011-06-27 Thread Grant Likely
Currently, if an i2c bus driver supports both static and dynamic bus ids, it needs to choose between calling i2c_add_numbered_adapter() and i2c_add_adapter(). This patch makes i2c_add_numbered_adapter() redirect to i2c_add_adapter() if the requested bus id is -1. Signed-off-by: Grant Likely ---