aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2010-02-02 13:44:10 -0800
committerLinus Torvalds <[email protected]>2010-02-02 18:11:22 -0800
commit1ec562035ba64e724652cb12b8a770b3906e9bf5 (patch)
tree639849e4d40b124f84fd36d166187a7cee87b06d /net/lapb/lapb_in.c
parent4528fd0595847c2078b59f24800e751c2d6b7e41 (diff)
imxfb: correct location of callbacks in suspend and resume
The probe function passes a pointer to a struct fb_info to platform_set_drvdata(), so don't interpret the return value of platform_get_drvdata() as a pointer to struct imxfb_info. The original imxfb_info *fbi backlight_power was NULL but in imxfb_suspend it was 4 resulting in an oops as imxfb_suspend calls imxfb_disable_controller(fbi) which in turn has if (fbi->backlight_power) fbi->backlight_power(0); Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Sascha Hauer <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions