|
@@ -436,6 +436,7 @@ int pciehp_sysfs_enable_slot(struct slot *p_slot)
|
|
|
switch (p_slot->state) {
|
|
|
case BLINKINGON_STATE:
|
|
|
cancel_delayed_work(&p_slot->work);
|
|
|
+ /* fall through */
|
|
|
case STATIC_STATE:
|
|
|
p_slot->state = POWERON_STATE;
|
|
|
mutex_unlock(&p_slot->lock);
|
|
@@ -473,6 +474,7 @@ int pciehp_sysfs_disable_slot(struct slot *p_slot)
|
|
|
switch (p_slot->state) {
|
|
|
case BLINKINGOFF_STATE:
|
|
|
cancel_delayed_work(&p_slot->work);
|
|
|
+ /* fall through */
|
|
|
case STATIC_STATE:
|
|
|
p_slot->state = POWEROFF_STATE;
|
|
|
mutex_unlock(&p_slot->lock);
|