<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLK DSI] Black screen after grub - Ubuntu 18.04 - kernel latest tip 21.11.2018"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108826#c131">Comment # 131</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLK DSI] Black screen after grub - Ubuntu 18.04 - kernel latest tip 21.11.2018"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108826">bug 108826</a>
from <span class="vcard"><a class="email" href="mailto:stanislav.lisovskiy@intel.com" title="Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>"> <span class="fn">Stanislav Lisovskiy</span></a>
</span></b>
<pre>(In reply to Mark Wynn Garcia from <a href="show_bug.cgi?id=108826#c129">comment #129</a>)
<span class="quote">> Please sanity check this:
>
> <a href="https://github.com/torvalds/linux/blob/">https://github.com/torvalds/linux/blob/</a>
> 3601fe43e8164f67a8de3de8e988bfcb3a94af46/include/dt-bindings/gpio/gpio.h#L15
>
> #define GPIO_ACTIVE_LOW 1
>
> <a href="https://github.com/torvalds/linux/blob/">https://github.com/torvalds/linux/blob/</a>
> 903b77c631673eeec9e9114e9524171cdf9a2646/include/linux/gpio/consumer.h#L51
>
> #define GPIOD_FLAGS_BIT_DIR_SET BIT(0)
> #define GPIOD_FLAGS_BIT_DIR_OUT BIT(1)
>
> ...
>
> GPIOD_OUT_LOW = GPIOD_FLAGS_BIT_DIR_SET | GPIOD_FLAGS_BIT_DIR_OUT,
>
> so GPIO_ACTIVE_LOW == GPIOD_OUT_LOW !!!(?)</span >
Yes, it is the same value.
However gpiod_get_index function doesn't take it as a parameter -
enum gpiod_flags does not contain GPIO_ACTIVE_LOW among possible flag values,
so it doesn't really matter.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>