lkml.org 
[lkml]   [2012]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpiolib: wm8994: Pay attention to the value set when enabling as output
From
On Tue, Jun 5, 2012 at 7:12 PM, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:

> +       if (value)
> +               value = WM8994_GPN_LVL;
> +
>        return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset,
> -                              WM8994_GPN_DIR, 0);
> +                              WM8994_GPN_DIR | WM8994_GPN_LVL, value);
>  }

The commit message is so terse compared to what the code does that
I cannot claim to understand what this patch is doing.

Could you elaborate on the problem ans symptoms, just for a nice
commit log?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-06-07 14:01    [W:0.040 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site