Re: [PATCH -next] drm/bridge: lt8912b: DRM_LONTIUM_LT8912B select GPIOLIB

From: zhangjianhua (E)
Date: Thu Apr 08 2021 - 03:11:03 EST


Hello Robert

I am sorry that I make a mistake about the compiling error of lt8912b,

the reason is that lt8912b miss the header file <linux/gpio/consumer.h>.

Although there are many files reference gpiod_set_value_cansleep() and

devm_gpiod_get_optional(), they all include <linux/gpio/consumer.h>

and not occur the compiling error like lt8912b. I have send the second

version patch, please read.


Best regards,

Zhang Jianhua

在 2021/4/7 17:50, zhangjianhua (E) 写道:
Thanks, I will do that.

在 2021/4/7 16:03, Robert Foss 写道:
Yes, you are right, there are many files reference
gpiod_set_value_cansleep() and

devm_gpiod_get_optional(). How about add config dependencies for all
releated
I think this is the way to go and roughly half of the drm bridge
drivers seem to need this change.

Do you mind submitting a series of patches adding this fix for all of
the relevant bridge drivers?

configs or only add config dependencies for the top level config?

.