]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: analogix_dp: Remove duplicated code
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 24 Aug 2016 14:54:41 +0000 (10:54 -0400)
committerArchit Taneja <architt@codeaurora.org>
Sat, 24 Sep 2016 06:26:34 +0000 (11:56 +0530)
commit0d97ad03f4220ca84f700c5fea988859ea0c3b98
treed33cf767ec33fc67853d828bd9fb0d1bbe781d38
parentf67ed574946a7385c8034652c9e79abf00beadeb
drm/bridge: analogix_dp: Remove duplicated code

Remove code for reading the EDID and DPCD fields and use the helpers
instead.

Besides the obvious code reduction, other helpers are being added to the
core that could be used in this driver and will be good to be able to
use them instead of duplicating them.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Cc: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Yakir Yang <ykk@rock-chips.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c