aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r--drivers/s390/cio/chsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c
index daedb00a4346..72187e54dcac 100644
--- a/drivers/s390/cio/chsc.c
+++ b/drivers/s390/cio/chsc.c
@@ -635,13 +635,13 @@ __chp_add(struct subchannel_id schid, void *data)
635 if (sch->schib.pmcw.chpid[i] == chp->id) { 635 if (sch->schib.pmcw.chpid[i] == chp->id) {
636 if (stsch(sch->schid, &sch->schib) != 0) { 636 if (stsch(sch->schid, &sch->schib) != 0) {
637 /* Endgame. */ 637 /* Endgame. */
638 spin_unlock(&sch->lock); 638 spin_unlock_irq(&sch->lock);
639 return -ENXIO; 639 return -ENXIO;
640 } 640 }
641 break; 641 break;
642 } 642 }
643 if (i==8) { 643 if (i==8) {
644 spin_unlock(&sch->lock); 644 spin_unlock_irq(&sch->lock);
645 return 0; 645 return 0;
646 } 646 }
647 sch->lpm = ((sch->schib.pmcw.pim & 647 sch->lpm = ((sch->schib.pmcw.pim &