Skip to content

Commit

Permalink
BMI: Keep present PIM powered, even if invalid EEPROM is encountered.
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Isaacs <izzy@buglabs.net>
  • Loading branch information
Matt Isaacs committed May 27, 2011
1 parent edf912c commit 3739922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/bmi/core/slot.c
Expand Up @@ -360,7 +360,8 @@ static void bmi_slot_work_handler(struct work_struct * work)
kfree(data); kfree(data);
slot->bdev = NULL; slot->bdev = NULL;
slot->eeprom = NULL; slot->eeprom = NULL;
bmi_slot_power_off(slot->slotnum); if (!slot->present)
bmi_slot_power_off(slot->slotnum);
goto irqenbl; goto irqenbl;
} }


Expand Down

0 comments on commit 3739922

Please sign in to comment.