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

From: Wolfram Sang
Date: Tue Jul 04 2017 - 10:03:41 EST

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@xxxxxxxxxxxxxxxxxxx>

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

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature