Skip to content

Commit d14cd99

Browse files
arndbgregkh
authored andcommitted
usb: typec: ucsi: huawei-gaokin: add DRM dependency
Selecting DRM_AUX_HPD_BRIDGE is not possible from a built-in driver when CONFIG_DRM=m: WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE Depends on [m]: HAS_IOMEM [=y] && DRM [=m] && DRM_BRIDGE [=y] && OF [=y] Selected by [y]: - UCSI_HUAWEI_GAOKUN [=y] && USB_SUPPORT [=y] && TYPEC [=y] && TYPEC_UCSI [=y] && EC_HUAWEI_GAOKUN [=y] && DRM_BRIDGE [=y] && OF [=y] Add the same dependency we have in similar drivers to work around this. Fixes: 00327d7 ("usb: typec: ucsi: add Huawei Matebook E Go ucsi driver") Cc: stable <stable@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://patch.msgid.link/20251204101111.1035975-1-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e1003aa commit d14cd99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/usb/typec/ucsi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ config UCSI_LENOVO_YOGA_C630
9696
config UCSI_HUAWEI_GAOKUN
9797
tristate "UCSI Interface Driver for Huawei Matebook E Go"
9898
depends on EC_HUAWEI_GAOKUN
99+
depends on DRM || !DRM
99100
select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
100101
help
101102
This driver enables UCSI support on the Huawei Matebook E Go tablet,

0 commit comments

Comments
 (0)