From: Toshi Kikuchi Date: Mon, 11 May 2015 19:10:54 +0000 (-0700) Subject: leds: lp5523: add master_fader support X-Git-Tag: omap-for-v4.2/fixes-rc1^2~51^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52da81eafaff1388b2df97b79d317c93a048899c;p=pandora-kernel.git leds: lp5523: add master_fader support This patch introduces 4 new attributes: master_fader_leds master_fader1 master_fader2 master_fader3 Fo example, to map channel 0,6 to master_fader1, map channel 1,7 to master_fader2, map channel 2,8 to master_fader3, and map channel 3,4,5 to none echo "123000123" > master_fader_leds A different factor can be set to each master_fader: echo 255 > master_fader1 echo 100 > master_fader2 echo 0 > master_fader3 Signed-off-by: Toshi Kikuchi Acked-by: Milo Kim Tested-by: Milo Kim Acked-by: Jacek Anaszewski Signed-off-by: Bryan Wu --- Reading git-diff-tree failed