Hi Linus,

On 20/09/2013 22:24, Linus Walleij wrote:
> On Fri, Sep 13, 2013 at 11:41 PM, Graeme Smecher
> <[email protected]> wrote:
> 
>> The pca957x driver supports a handful of I2C GPIO expanders from NXP, Maxim,
>> and TI. For the PCA9574 and PCA9575 devices only, the driver resets the GPIO
>> level and direction in the pca957x_probe function. This seems like the wrong
>> thing to do, since it can cause hardware bit twiddles during warm reboots 
>> when
>> the chip state and reset values don't match.
>>
>> This kind of initialization is best left upstream (in a bootloader) or
>> downstream (in userspace). It's also an inconsistency across devices 
>> supported
>> by this driver.
>>
>> This patch is NOT boot-tested: the SoC I'm  using is stuck on 2.6.37, and the
>> patch doesn't apply trivially.
>>
>> Signed-off-by: Graeme Smecher <[email protected]>
>> Acked-by: Haojian Zhuang <[email protected]>
> 
> Looks like you're deleting code from Gregory CLEMENT,
> Gregory what do you say about this?

Thanks to point me this patch, I didn't have noticed it.
The code being removed is mine because I change it to take care of the
multiple bankd. I didn't change the functionality. The original code
was from Haojian Zhuang so as he gave his acked-by it should be fine.

However could you wait for until the end of this week end, to let me test
it on a real hardware?

Thanks,

Gregory

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to