Subject: [merged] backlight-lm3630-apply-chip-revision-fix.patch removed from -mm tree To: gshark.jeong@xxxxxxxxx,jg1.han@xxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 13 Nov 2013 12:40:36 -0800 The patch titled Subject: backlight: lm3630: fix sparse warning has been removed from the -mm tree. Its filename was backlight-lm3630-apply-chip-revision-fix.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Daniel Jeong <gshark.jeong@xxxxxxxxx> Subject: backlight: lm3630: fix sparse warning This patch is to fix sparse warning due to mixing different enum type. Signed-off-by: Daniel Jeong <gshark.jeong@xxxxxxxxx> Cc: Jingoo Han <jg1.han@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/lm3630a_bl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/video/backlight/lm3630a_bl.c~backlight-lm3630-apply-chip-revision-fix drivers/video/backlight/lm3630a_bl.c --- a/drivers/video/backlight/lm3630a_bl.c~backlight-lm3630-apply-chip-revision-fix +++ a/drivers/video/backlight/lm3630a_bl.c @@ -90,8 +90,8 @@ static int lm3630a_chip_init(struct lm36 /* set current B */ rval |= lm3630a_write(pchip, REG_I_B, 0x1F); /* set control */ - rval |= - lm3630a_write(pchip, REG_CTRL, pdata->leda_ctrl | pdata->ledb_ctrl); + rval |= lm3630a_update(pchip, REG_CTRL, 0x14, pdata->leda_ctrl); + rval |= lm3630a_update(pchip, REG_CTRL, 0x0B, pdata->ledb_ctrl); usleep_range(1000, 2000); /* set brightness A and B */ rval |= lm3630a_write(pchip, REG_BRT_A, pdata->leda_init_brt); _ Patches currently in -mm which might be from gshark.jeong@xxxxxxxxx are origin.patch linux-next.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