dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/atmel-hlcdc: Fix panel registration
@ 2017-06-06 11:34 Boris Brezillon
  2017-06-06 17:47 ` Eric Anholt
  2017-06-07 16:07 ` Archit Taneja
  0 siblings, 2 replies; 3+ messages in thread
From: Boris Brezillon @ 2017-06-06 11:34 UTC (permalink / raw)
  To: Boris Brezillon, Eric Anholt, Sean Paul, Gerd Hoffmann, Mark Yao,
	Shawn Guo
  Cc: dri-devel

Attach the panel-bridge created by drm_panel_bridge_add() to the
parallel RGB encoder.

Fixes: 96160a8071b2 ("drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
index 340ef962aa81..dfdd18763b0a 100644
--- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
+++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
@@ -59,8 +59,6 @@ static int atmel_hlcdc_attach_endpoint(struct drm_device *dev,
 		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_Unknown);
 		if (IS_ERR(bridge))
 			return PTR_ERR(bridge);
-
-		return 0;
 	}
 
 	if (bridge) {
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/atmel-hlcdc: Fix panel registration
  2017-06-06 11:34 [PATCH] drm/atmel-hlcdc: Fix panel registration Boris Brezillon
@ 2017-06-06 17:47 ` Eric Anholt
  2017-06-07 16:07 ` Archit Taneja
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Anholt @ 2017-06-06 17:47 UTC (permalink / raw)
  To: Boris Brezillon; +Cc: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 383 bytes --]

Boris Brezillon <boris.brezillon@free-electrons.com> writes:

> Attach the panel-bridge created by drm_panel_bridge_add() to the
> parallel RGB encoder.
>
> Fixes: 96160a8071b2 ("drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.")
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>

Reviewed-by: Eric Anholt <eric@anholt.net>

Sorry for the mistake.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/atmel-hlcdc: Fix panel registration
  2017-06-06 11:34 [PATCH] drm/atmel-hlcdc: Fix panel registration Boris Brezillon
  2017-06-06 17:47 ` Eric Anholt
@ 2017-06-07 16:07 ` Archit Taneja
  1 sibling, 0 replies; 3+ messages in thread
From: Archit Taneja @ 2017-06-07 16:07 UTC (permalink / raw)
  To: Boris Brezillon, Eric Anholt, Sean Paul, Gerd Hoffmann, Mark Yao,
	Shawn Guo
  Cc: dri-devel



On 06/06/2017 05:04 PM, Boris Brezillon wrote:
> Attach the panel-bridge created by drm_panel_bridge_add() to the
> parallel RGB encoder.
>

queued to drm-misc-next

Thanks,
Archit

> Fixes: 96160a8071b2 ("drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.")
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> index 340ef962aa81..dfdd18763b0a 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> @@ -59,8 +59,6 @@ static int atmel_hlcdc_attach_endpoint(struct drm_device *dev,
>  		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_Unknown);
>  		if (IS_ERR(bridge))
>  			return PTR_ERR(bridge);
> -
> -		return 0;
>  	}
>
>  	if (bridge) {
>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-07 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-06 11:34 [PATCH] drm/atmel-hlcdc: Fix panel registration Boris Brezillon
2017-06-06 17:47 ` Eric Anholt
2017-06-07 16:07 ` Archit Taneja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).