lkml.org 
[lkml]   [2014]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC PATCH 4/4] drm/panel/ld9040: do not power off panel on removal
    Date
    Panel is powered off already by connector during drm_panel_remove call.

    Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
    ---
    drivers/gpu/drm/panel/panel-ld9040.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/drivers/gpu/drm/panel/panel-ld9040.c b/drivers/gpu/drm/panel/panel-ld9040.c
    index 1f1f837..1def4b0 100644
    --- a/drivers/gpu/drm/panel/panel-ld9040.c
    +++ b/drivers/gpu/drm/panel/panel-ld9040.c
    @@ -348,7 +348,6 @@ static int ld9040_remove(struct spi_device *spi)
    {
    struct ld9040 *ctx = spi_get_drvdata(spi);

    - ld9040_power_off(ctx);
    drm_panel_remove(&ctx->panel);

    return 0;
    --
    1.8.3.2


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