drm/bridge/sii8620: improve reading device capabilities function
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 17 Oct 2016 13:57:03 +0000 (15:57 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:53:53 +0000 (13:53 +0900)
commitb369f1a19957c9df54aeb1b440eb07554731a883
tree61cbbe0b4830593d2c3a8f2d71622dd293af190e
parentb66ef4d7cea87a6c51efbae05c1ff8715ab3da35
drm/bridge/sii8620: improve reading device capabilities function

This patch adds error checks, improves logging and constifies static array.
As a result the function is similar to mainline, except missing sink
name reporting which is not yet supported by drm core.

Change-Id: Icf7a72f0b9098f74f04e039c8c5dc5dfa3c59e17
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/bridge/sii8620.c