]> 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)
commit58b83aab0cd9cd2124178c8979b6c06ce3589857
treed33cf767ec33fc67853d828bd9fb0d1bbe781d38
parent04ffb1729f54d6c291b870b8b7cee4350bebdb27
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