]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sti: use new Reset API
authorLee Jones <lee.jones@linaro.org>
Mon, 25 Jul 2016 10:09:33 +0000 (11:09 +0100)
committerSean Paul <seanpaul@chromium.org>
Tue, 26 Jul 2016 14:25:00 +0000 (10:25 -0400)
commitc8a7f712e337de376d0f00fae81241e23366959a
tree0ca079777c3fe471ace6339742d8ea962661e9f8
parentd19b3b82932833edcfec36a7b9b0075313a548e9
drm/sti: use new Reset API

Since b742c8127b9 ("reset: Add support for shared reset controls") the
new Reset API now demands consumers choose either an *_exclusive or a
*_shared line when requesting reset lines.

This issue was found when running a kernel containing the aforementioned
patch  which includes an informitive WARN().  It implies that one or
more used reset lines are in fact shared.  This is why we're using the
*_shared variant.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20160725100933.9261-1-lee.jones@linaro.org
drivers/gpu/drm/sti/sti_compositor.c