The patch titled Subject: backlight-add-support-for-pandora-backlight-v2 has been removed from the -mm tree. Its filename was backlight-add-support-for-pandora-backlight-v2.patch This patch was dropped because it was folded into backlight-add-support-for-pandora-backlight.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Grazvydas Ignotas <notasas@xxxxxxxxx> Subject: backlight-add-support-for-pandora-backlight-v2 changed in v2: fixed a bug where setting brightness to 0 twice would actually turn the backlight on. We had this driver in pandora tree for a couple of years now, but while cleaning it up for mainline submission I've introduced this bug, sorry for the noise. Signed-off-by: Grazvydas Ignotas <notasas@xxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/pandora_bl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/video/backlight/pandora_bl.c~backlight-add-support-for-pandora-backlight-v2 drivers/video/backlight/pandora_bl.c --- a/drivers/video/backlight/pandora_bl.c~backlight-add-support-for-pandora-backlight-v2 +++ a/drivers/video/backlight/pandora_bl.c @@ -52,7 +52,10 @@ static int pandora_backlight_update_stat if ((unsigned int)brightness > MAX_USER_VALUE) brightness = MAX_USER_VALUE; - if (brightness == 0 && !(bl->props.state & PANDORABL_WAS_OFF)) { + if (brightness == 0) { + if (bl->props.state & PANDORABL_WAS_OFF) + goto done; + /* first disable PWM0 output, then clock */ twl_i2c_read_u8(TWL4030_MODULE_INTBR, &r, TWL_INTBR_GPBR1); r &= ~PWM0_ENABLE; _ Patches currently in -mm which might be from notasas@xxxxxxxxx are origin.patch backlight-add-support-for-pandora-backlight.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html