summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/sb1250-mac.c
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2016-05-21 10:30:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-30 14:53:09 +0300
commit9f9cd7ee2c05881f151e5ee4889e667a031dd8d9 (patch)
tree55c2c3702f9675afe8756c2bb9baa5bf7e127f42 /drivers/net/ethernet/broadcom/sb1250-mac.c
parente4f35c1339f0cfcf38d3f63dd6fea2b070399263 (diff)
downloadlinux-9f9cd7ee2c05881f151e5ee4889e667a031dd8d9.tar.xz
ACPI / Thermal / video: fix max_level incorrect value
commit 059500940def (ACPI/video: export acpi_video_get_levels) mistakenly dropped the correct value of max_level and that caused the set_level function following failed and the acpi_video backlight interface didn't get created. Fix this by passing back the correct max_level value. While at it, also fix the param used in acpi_video_device_lcd_query_levels where acpi_handle is expected but acpi_video_device is passed. Fixes: 059500940def (ACPI/video: export acpi_video_get_levels) Reported-and-tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Aaron Lu <aaron.lu@intel.com> Acked-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/sb1250-mac.c')
0 files changed, 0 insertions, 0 deletions