Thread (4 messages) 4 messages, 2 authors, 2012-06-08

Re: [PATCH] gpiolib: wm8994: Pay attention to the value set when enabling as output

From: Linus Walleij <hidden>
Date: 2012-06-07 11:11:23
Also in: lkml

On Tue, Jun 5, 2012 at 7:12 PM, Mark Brown
[off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help