OSDN Git Service

drm/sti: hdmi fix i2c adapter device refcounting
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Mon, 21 Sep 2015 15:51:26 +0000 (18:51 +0300)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 3 Nov 2015 12:04:54 +0000 (13:04 +0100)
commit807642d731e08f317e9375e2dcbb49eb0de0daa2
tree2b0139103ed21c3965b2b9d975f1a36321add266
parent3a36e186ba4a135a63397a1e58a36f9f602af53e
drm/sti: hdmi fix i2c adapter device refcounting

The commit 53bdcf5f026c ("drm: sti: fix sub-components bind") moves
i2c adapter search and locking from .bind() to .probe(), however
proper error path in the modified .probe() is not implemented and
leftover of the related error path in .bind() remains. This change
fixes these issues.

Fixes: 53bdcf5f026c ("drm: sti: fix sub-components bind")
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_hdmi.c