[Bug 108826] [GLK DSI] Black screen after grub - Ubuntu 18.04 - kernel latest tip 21.11.2018

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 28 08:56:38 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=108826

--- Comment #131 from Stanislav Lisovskiy <stanislav.lisovskiy at intel.com> ---
(In reply to Mark Wynn Garcia from comment #129)
> Please sanity check this:
> 
> https://github.com/torvalds/linux/blob/
> 3601fe43e8164f67a8de3de8e988bfcb3a94af46/include/dt-bindings/gpio/gpio.h#L15
> 
> #define GPIO_ACTIVE_LOW 1
> 
> https://github.com/torvalds/linux/blob/
> 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 !!!(?)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190528/a179f2f0/attachment.html>


More information about the intel-gfx-bugs mailing list