5d6f921b42
- Current implementation tests wrong value for setting aat2870_bl->max_current. - In the current implementation, we cannot differentiate between 2 cases: a) if pdata->max_current is not set , or b) pdata->max_current is set to AAT2870_CURRENT_0_45 (which is also 0). Fix it by setting AAT2870_CURRENT_0_45 to be 1 and adjust the equation in aat2870_brightness() accordingly. Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Samuel Ortiz <sameo@linux.intel.com> Tested-by: Jin Park <jinyoungp@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
ab8500 | ||
pcf50633 | ||
pm8xxx | ||
wm831x | ||
wm8350 | ||
wm8994 | ||
88pm860x.h | ||
aat2870.h | ||
ab8500.h | ||
abx500.h | ||
adp5520.h | ||
asic3.h | ||
core.h | ||
da903x.h | ||
davinci_voicecodec.h | ||
db5500-prcmu.h | ||
db8500-prcmu.h | ||
ds1wm.h | ||
ezx-pcap.h | ||
htc-egpio.h | ||
htc-pasic3.h | ||
janz.h | ||
max8925.h | ||
max8997-private.h | ||
max8997.h | ||
max8998-private.h | ||
max8998.h | ||
mc13xxx.h | ||
mc13783.h | ||
mc13892.h | ||
mcp.h | ||
rdc321x.h | ||
stmpe.h | ||
t7l66xb.h | ||
tc3589x.h | ||
tc6387xb.h | ||
tc6393xb.h | ||
ti_ssp.h | ||
tmio.h | ||
tps6105x.h | ||
tps6507x.h | ||
tps6586x.h | ||
tps65910.h | ||
tps65912.h | ||
twl4030-audio.h | ||
twl6040.h | ||
ucb1x00.h | ||
wl1273-core.h | ||
wm8400-audio.h | ||
wm8400-private.h | ||
wm8400.h |