Yes, it should be in 3.9-stable as well

BR,
-R

On Fri, May 3, 2013 at 11:00 AM, Jonghwan Choi <[email protected]> wrote:
> From: Sachin Kamat <[email protected]>
>
> This patch looks like it should be in the 3.9-stable tree, should we apply
> it?
>
> ------------------
>
> From: "Sachin Kamat <[email protected]>"
>
> commit 9e48854c58ca9a0f39e716dcb18247bfc21e2022 upstream
>
> Instead of checking if num_encoders is zero, it is being assigned 0.
> Convert the assignment to a check.
>
> Signed-off-by: Sachin Kamat <[email protected]>
> Acked-by: Rob Clark <[email protected]>
> Signed-off-by: Dave Airlie <[email protected]>
> Signed-off-by: Jonghwan Choi <[email protected]>
> ---
>  drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c 
> b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
> index c5b592d..bfac582 100644
> --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
> +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
> @@ -75,7 +75,7 @@ static int modeset_init(struct drm_device *dev)
>                 mod->funcs->modeset_init(mod, dev);
>         }
>
> -       if ((priv->num_encoders = 0) || (priv->num_connectors == 0)) {
> +       if ((priv->num_encoders == 0) || (priv->num_connectors == 0)) {
>                 /* oh nos! */
>                 dev_err(dev->dev, "no encoders/connectors found\n");
>                 return -ENXIO;
> --
> 1.8.1.2
>
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to