OSDN Git Service

drm/bridge: anx7625: Use common macros for HDCP capabilities
authorChen-Yu Tsai <wenst@chromium.org>
Mon, 10 Jul 2023 09:12:01 +0000 (17:12 +0800)
committerRobert Foss <rfoss@kernel.org>
Mon, 17 Jul 2023 16:03:23 +0000 (18:03 +0200)
commit41639b3a8b0f1f194dfe0577d99db70613f78626
tree0e20c1b25cccf452bec938216e86723915ca21d7
parent2ba776f903cb7157e80b5f314fb0b4faf6ea6958
drm/bridge: anx7625: Use common macros for HDCP capabilities

The DRM DP code has macros for the DP HDCP capabilities. Use them in the
anx7625 driver instead of raw numbers.

Fixes: cd1637c7e480 ("drm/bridge: anx7625: add HDCP support")
Suggested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230710091203.1874317-1-wenst@chromium.org
drivers/gpu/drm/bridge/analogix/anx7625.c