mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 fixes from Martin Schwidefsky: "Two late bug fixes for kernel 4.4. Merry Christmas" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/dis: Fix handling of format specifiers s390/zcrypt: Fix AP queue handling if queue is full
This commit is contained in:
commit
ad3d1abb30
2 changed files with 15 additions and 6 deletions
|
|
@ -599,8 +599,10 @@ static enum ap_wait ap_sm_read(struct ap_device *ap_dev)
|
|||
status = ap_sm_recv(ap_dev);
|
||||
switch (status.response_code) {
|
||||
case AP_RESPONSE_NORMAL:
|
||||
if (ap_dev->queue_count > 0)
|
||||
if (ap_dev->queue_count > 0) {
|
||||
ap_dev->state = AP_STATE_WORKING;
|
||||
return AP_WAIT_AGAIN;
|
||||
}
|
||||
ap_dev->state = AP_STATE_IDLE;
|
||||
return AP_WAIT_NONE;
|
||||
case AP_RESPONSE_NO_PENDING_REPLY:
|
||||
|
|
|
|||
Loading…
Reference in a new issue