[PATCH] gpio/generic: initialize the shadow of direction register

Shawn Guo shawn.guo at freescale.com
Wed May 16 09:38:51 EDT 2012


On Wed, May 16, 2012 at 02:48:23PM +0200, Lothar Waßmann wrote:
> But you are changing the behaviour of existing software that
> apparently did not suffer from this problem.

It's exactly the reason why you chose to fix the problem in gpio-mxc
instead of gpio-generic, right?  You thought other gpio-generic users
like gpio-mxs does not suffer from this problem.  Sadly, it's not the
case.

The updated patch simply corrects behaviour of gpio-generic for all
the users.

> You should make sure that
> the fix for your problem is not causing new problems for other users!
> 
I'm not fixing a gpio-mxs problem but a gpio-generic one.  Can you help
me understand what the new problems could possibly be introduced for
other gpio-generic users by the changes? 

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list