Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1470250

Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is used

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is used
Date 2016-08-25 18:20 +0200
Message-ID <sa5xM-3jP-5@gated-at.bofh.it> (permalink)
References <s6qAN-6iP-9@gated-at.bofh.it> <sa5xM-3jP-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c
> index 3cb8af635db5..f052c3067791 100644
> --- a/drivers/i2c/muxes/i2c-mux-pca9541.c
> +++ b/drivers/i2c/muxes/i2c-mux-pca9541.c
> @@ -349,7 +349,8 @@ static int pca9541_probe(struct i2c_client *client,
>  	force = 0;
>  	if (pdata)
>  		force = pdata->modes[0].adap_id;
> -	muxc = i2c_mux_alloc(adap, &client->dev, 1, sizeof(*data), 0,
> +	muxc = i2c_mux_alloc(adap, &client->dev, 1, sizeof(*data),
> +			     I2C_MUX_ARBITRATOR,

Does it make sense to rename the file to i2c-arb-* somewhen then? Just
asking, I'll apply the patch anyhow.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is  used Wolfram Sang <wsa@the-dreams.de> - 2016-08-25 18:20 +0200
  Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is  used Wolfram Sang <wsa@the-dreams.de> - 2016-08-25 18:30 +0200
    Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is  used Wolfram Sang <wsa@the-dreams.de> - 2016-08-25 19:40 +0200

csiph-web