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


Groups > linux.kernel > #1680996

Re: [PATCH 2/6] i2c: pca-platform: correctly set algo_data.reset_chip

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/6] i2c: pca-platform: correctly set algo_data.reset_chip
Date 2017-07-04 16:10 +0200
Message-ID <tZwGB-Oa-11@gated-at.bofh.it> (permalink)
References <tXSrT-6F8-3@gated-at.bofh.it> <tXSrT-6F8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Fri, Jun 30, 2017 at 12:54:04PM +1200, Chris Packham wrote:
> When device tree support was added the setting of algo_data.reset_chip
> was moved. There were two problems with this. The first being that
> i2c_pca_pf_resetchip was only used if platform data was provided. The
> second that it was unconditionally overridden with
> i2c_pca_pf_dummyreset. Ensure that however the reset gpio is defined the
> correct reset_chip function is used.
> 
> Fixes: commit 4cc7229daa46 ("i2c: pca-platform: switch to struct gpio_desc")
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>

It's a bugfix, so I'll include it in this merge window.

Applied to for-next, thanks!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/6] i2c: pca-platform: correctly set algo_data.reset_chip Wolfram Sang <wsa@the-dreams.de> - 2017-07-04 16:10 +0200

csiph-web