[lkml]   [2012]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/4] GPIO: PCA953X: Increase size of invert variable to support 24 bit
On Tue, Jul 10, 2012 at 3:35 PM, Chandrabhanu Mahapatra
<> wrote:

> TCA6424 is a low voltage 24 bit I2C and SMBus I/O expander of pca953x family
> similar to its 16 bit predecessor TCA6416. It comes with three 8-bit active
> Input, Output, Polarity Inversion and Configuration registers each. The polarity
> of Input ports can be reversed by setting the appropiate bit in Polarity
> Inversion registers.
> The variables corresponding to Input, Output and Configuration registers have
> already been updated to support 24 bit values. This patch thus updates the
> invert variable of PCA953X platform data to support 24 bit.
> Signed-off-by: Chandrabhanu Mahapatra <>

I remember this (I think). So expand to 32bit to support 24 bit,
that looks reasonable.

Patch applied.

Linus Walleij

 \ /
  Last update: 2012-07-12 01:01    [W:0.133 / U:5.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site