lkml.org 
[lkml]   [2014]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.14 112/158] video: atmel_lcdfb: ensure the hardware is initialized with the correct mode
    Date
    3.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: =?UTF-8?q?Antoine=20T=C3=A9nart?= <antoine.tenart@free-electrons.com>

    commit 7d3477d801808a5037a511cf5a5aae5718e7ecce upstream.

    If no driver takeover the atmel_lcdfb, the lcd won't be in a working state
    since atmel_lcdfb_set_par() will never be called. Enabling a driver which does,
    like fbcon, will call the function and put atmel_lcdfb in a working state.

    Fixes: b985172b328a (video: atmel_lcdfb: add device tree suport)

    Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
    Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/video/atmel_lcdfb.c | 6 ++++++
    1 file changed, 6 insertions(+)

    --- a/drivers/video/atmel_lcdfb.c
    +++ b/drivers/video/atmel_lcdfb.c
    @@ -1298,6 +1298,12 @@ static int __init atmel_lcdfb_probe(stru
    goto unregister_irqs;
    }

    + ret = atmel_lcdfb_set_par(info);
    + if (ret < 0) {
    + dev_err(dev, "set par failed: %d\n", ret);
    + goto unregister_irqs;
    + }
    +
    dev_set_drvdata(dev, info);

    /*

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2014-05-04 19:21    [W:4.820 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site