PCI: Don't clear IORESOURCE_UNSET when updating BAR
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 26 Feb 2014 18:25:59 +0000 (11:25 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 27 Feb 2014 17:43:32 +0000 (10:43 -0700)
commit434aafc1aefb5eb6e8c8d15284c8f929be756521
treec5c7cb106302dc0712b62e451fc934af7b3c7692
parentbd064f0a231af336218838474ea45a64f1672190
PCI: Don't clear IORESOURCE_UNSET when updating BAR

Clear IORESOURCE_UNSET when we assign an address to a resource, not when we
write the address to the BAR.

Also, drop the "BAR %d: set to %pR" message; this is mostly redundant with
the "BAR %d: assigned %pR" message from pci_assign_resource().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-res.c