summaryrefslogtreecommitdiff
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
authorAshwin Chaugule <ashwin.chaugule@linaro.org>2015-11-19 18:40:07 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-24 00:21:18 +0300
commit9dc17917733f5a53ef970ac95a48d2dfb7dc7202 (patch)
tree6a672f35036a9b4985662e22caf04a80426948b2 /drivers/cdrom/cdrom.c
parentd29d67357db8dad08f97162bbeb51e4975ee67fd (diff)
downloadlinux-9dc17917733f5a53ef970ac95a48d2dfb7dc7202.tar.xz
cpufreq: CPPC: Initialize and check CPUFreq CPU co-ord type correctly
The CPU policy struct indicates the co-ordination type for all CPUs of a common freq domain. Initialize it correctly using the CPU specific data gathered from CPPC ACPI lib via acpi_get_psd_map(). The PSD object is optional, so the cpu->shared_type can also be 0. So instead of assuming any value other than SW_ANY(0xFD) is unsupported, explictly check if shared_type is SW_ALL and then bail. Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cdrom/cdrom.c')
0 files changed, 0 insertions, 0 deletions