[PATCH v3] staging: olpc_dcon: ->read_status() API change

Andres Salomon dilinger at queued.net
Fri Dec 2 21:52:39 UTC 2011


Acked-by: Andres Salomon <dilinger at queued.net>

On Fri, 02 Dec 2011 16:28:43 -0500
Xi Wang <xi.wang at gmail.com> wrote:

> Change ->read_status() by separating the error handling and the
> status bits.  This also fixes a signedness bug in dcon_interrupt()
> that would break the error handling.
> 
> Signed-off-by: Xi Wang <xi.wang at gmail.com>
> Cc: Andres Salomon <dilinger at queued.net>
> Cc: Dan Carpenter <dan.carpenter at oracle.com>
> ---
>  drivers/staging/olpc_dcon/olpc_dcon.c        |    4 ++--
>  drivers/staging/olpc_dcon/olpc_dcon.h        |    2 +-
>  drivers/staging/olpc_dcon/olpc_dcon_xo_1.c   |   10 ++++------
>  drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c |   10 ++++------
>  4 files changed, 11 insertions(+), 15 deletions(-)



More information about the devel mailing list