]> 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)
commita8007fb397a9d33a6376147ea269af1aa30d8993
tree0ca079777c3fe471ace6339742d8ea962661e9f8
parent54019281690327a8d287b482c6c3472d2d9689b5
drm/sti: use new Reset API

Since 559c1a9bece ("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