Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1449417 > unrolled thread
| Started by | Lee Jones <lee.jones@linaro.org> |
|---|---|
| First post | 2016-07-25 12:20 +0200 |
| Last post | 2016-07-25 12:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/1] drm/sti: use new Reset API Lee Jones <lee.jones@linaro.org> - 2016-07-25 12:20 +0200
Re: [STLinux Kernel] [PATCH 1/1] drm/sti: use new Reset API Lee Jones <lee.jones@linaro.org> - 2016-07-25 12:40 +0200
Re: [STLinux Kernel] [PATCH 1/1] drm/sti: use new Reset API Peter Griffin <peter.griffin@linaro.org> - 2016-07-25 12:40 +0200
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Date | 2016-07-25 12:20 +0200 |
| Subject | [PATCH 1/1] drm/sti: use new Reset API |
| Message-ID | <rYL9n-3lx-1@gated-at.bofh.it> |
Since 0b52297f228 ("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>
---
drivers/gpu/drm/sti/sti_compositor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/sti/sti_compositor.c b/drivers/gpu/drm/sti/sti_compositor.c
index 3d2fa3a..c2ace02 100644
--- a/drivers/gpu/drm/sti/sti_compositor.c
+++ b/drivers/gpu/drm/sti/sti_compositor.c
@@ -234,12 +234,12 @@ static int sti_compositor_probe(struct platform_device *pdev)
}
/* Get reset resources */
- compo->rst_main = devm_reset_control_get(dev, "compo-main");
+ compo->rst_main = devm_reset_control_get_shared(dev, "compo-main");
/* Take compo main out of reset */
if (!IS_ERR(compo->rst_main))
reset_control_deassert(compo->rst_main);
- compo->rst_aux = devm_reset_control_get(dev, "compo-aux");
+ compo->rst_aux = devm_reset_control_get_shared(dev, "compo-aux");
/* Take compo aux out of reset */
if (!IS_ERR(compo->rst_aux))
reset_control_deassert(compo->rst_aux);
--
2.9.0
[toc] | [next] | [standalone]
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Date | 2016-07-25 12:40 +0200 |
| Subject | Re: [STLinux Kernel] [PATCH 1/1] drm/sti: use new Reset API |
| Message-ID | <rYLsJ-3s1-9@gated-at.bofh.it> |
| In reply to | #1449417 |
On Mon, 25 Jul 2016, Peter Griffin wrote:
> On Mon, 25 Jul 2016, Lee Jones wrote:
>
> > Since 0b52297f228 ("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>
> > ---
> > drivers/gpu/drm/sti/sti_compositor.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Your missing a changelog on the v2 version.
This isn't really a v2, hence the lack if [PATCH vX] increment.
This is v1 with a more verbose changelog.
> Apart from that:
> Acked-by: Peter Griffin <peter.griffin@linaro.org>
Ta.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
[toc] | [prev] | [next] | [standalone]
| From | Peter Griffin <peter.griffin@linaro.org> |
|---|---|
| Date | 2016-07-25 12:40 +0200 |
| Subject | Re: [STLinux Kernel] [PATCH 1/1] drm/sti: use new Reset API |
| Message-ID | <rYLsJ-3s1-11@gated-at.bofh.it> |
| In reply to | #1449417 |
Hi Lee,
On Mon, 25 Jul 2016, Lee Jones wrote:
> Since 0b52297f228 ("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>
> ---
> drivers/gpu/drm/sti/sti_compositor.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Your missing a changelog on the v2 version.
Apart from that:
Acked-by: Peter Griffin <peter.griffin@linaro.org>
regards,
Peter.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web