summaryrefslogtreecommitdiff
path: root/drivers/idle
diff options
context:
space:
mode:
authorWitold Szczeponik <Witold.Szczeponik@gmx.net>2012-12-15 04:02:08 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-03 16:10:53 +0400
commit13cde3b2a617e2927c8ee6da7a8f8d103994430f (patch)
tree2015dad7b156ac82ddac079dea36943568ad1de1 /drivers/idle
parentc9377667e6cdf4ac910b0932868275eb0dbfcfeb (diff)
downloadlinux-13cde3b2a617e2927c8ee6da7a8f8d103994430f.tar.xz
PNP: Handle IORESOURCE_BITS in resource allocation
The patch copies the flags masked by IORESOURCE_BITS from a resource's template. This is necessary because the resource settings require proper IORESOURCE_BITS which are not known during the definition of these resources using the "/sys/bus/pnp/*/*/resources" interface. (In fact, they should not be set by the user as the resource templates define the proper settings.) If the patch is not applied, the resource flags are not initialized properly and obscure messages in the kernel log have been seen ("invalid flags"). Signed-off-by: Witold Szczeponik <Witold.Szczeponik@gmx.net> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions