diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2017-06-30 02:54:04 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-07-04 16:02:20 +0200 |
commit | 2ec4d8831b9644a080302ce10868afff8d135fc3 (patch) | |
tree | cdde50fd34ae550c710e279e1efac88f55029ea8 /drivers/sh | |
parent | i2c: acpi: Do not create i2c-clients for LNXVIDEO ACPI devices (diff) | |
download | linux-2ec4d8831b9644a080302ce10868afff8d135fc3.tar.xz linux-2ec4d8831b9644a080302ce10868afff8d135fc3.zip |
i2c: pca-platform: correctly set algo_data.reset_chip
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>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions