|
@@ -814,8 +814,8 @@ static int css_power_event(struct notifier_block *this, unsigned long event,
|
|
mutex_unlock(&css->mutex);
|
|
mutex_unlock(&css->mutex);
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- if (__chsc_do_secm(css, 0))
|
|
|
|
- ret = NOTIFY_BAD;
|
|
|
|
|
|
+ ret = __chsc_do_secm(css, 0);
|
|
|
|
+ ret = notifier_from_errno(ret);
|
|
mutex_unlock(&css->mutex);
|
|
mutex_unlock(&css->mutex);
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
@@ -831,8 +831,8 @@ static int css_power_event(struct notifier_block *this, unsigned long event,
|
|
mutex_unlock(&css->mutex);
|
|
mutex_unlock(&css->mutex);
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- if (__chsc_do_secm(css, 1))
|
|
|
|
- ret = NOTIFY_BAD;
|
|
|
|
|
|
+ ret = __chsc_do_secm(css, 1);
|
|
|
|
+ ret = notifier_from_errno(ret);
|
|
mutex_unlock(&css->mutex);
|
|
mutex_unlock(&css->mutex);
|
|
}
|
|
}
|
|
/* search for subchannels, which appeared during hibernation */
|
|
/* search for subchannels, which appeared during hibernation */
|