Re: [RFC PATCH 8/9] i2c: i2c-mux: Allow for NULL select callback

2016-03-01 Thread Daniel Baluta
On Tue, Mar 1, 2016 at 10:30 PM, Wolfram Sang wrote: > On Thu, Feb 18, 2016 at 05:53:13PM +0200, Daniel Baluta wrote: >> From: Adriana Reus >> >> Add a check in i2c_mux_master_xfer before calling the select callback. >> This is necessary so that NULL callbacks can be safely registered. >> >> Sign

Re: [RFC PATCH 8/9] i2c: i2c-mux: Allow for NULL select callback

2016-03-01 Thread Wolfram Sang
On Thu, Feb 18, 2016 at 05:53:13PM +0200, Daniel Baluta wrote: > From: Adriana Reus > > Add a check in i2c_mux_master_xfer before calling the select callback. > This is necessary so that NULL callbacks can be safely registered. > > Signed-off-by: Adriana Reus > Signed-off-by: Daniel Baluta Hm

[RFC PATCH 8/9] i2c: i2c-mux: Allow for NULL select callback

2016-02-18 Thread Daniel Baluta
From: Adriana Reus Add a check in i2c_mux_master_xfer before calling the select callback. This is necessary so that NULL callbacks can be safely registered. Signed-off-by: Adriana Reus Signed-off-by: Daniel Baluta --- drivers/i2c/i2c-mux.c | 10 ++ 1 file changed, 6 insertions(+), 4 d