Skip to content

Commit

Permalink
Merge branches 'acpi-video' and 'acpi-hotplug'
Browse files Browse the repository at this point in the history
* acpi-video:
  ACPI: Revert "ACPI / video: Add Dell Inspiron 5737 to the blacklist"

* acpi-hotplug:
  ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()
  • Loading branch information
rafaeljw committed Jan 29, 2016
3 parents 92e963f + b186b4d + 2c3033a commit 0bce39c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 0 additions & 8 deletions drivers/acpi/video_detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"),
},
},
{
.callback = video_detect_force_vendor,
.ident = "Dell Inspiron 5737",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5737"),
},
},

/*
* These models have a working acpi_video backlight control, and using
Expand Down
4 changes: 3 additions & 1 deletion drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,8 +953,10 @@ int acpiphp_enable_slot(struct acpiphp_slot *slot)
{
pci_lock_rescan_remove();

if (slot->flags & SLOT_IS_GOING_AWAY)
if (slot->flags & SLOT_IS_GOING_AWAY) {
pci_unlock_rescan_remove();
return -ENODEV;
}

/* configure all functions */
if (!(slot->flags & SLOT_ENABLED))
Expand Down

0 comments on commit 0bce39c

Please sign in to comment.