mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
LCS recovery dumps when cable reconnect
LCS recovery dumps in irq routine when CCW address in Subchannel Status Word (SCSW) is zero. This occurs when recovery is driven after cable reconnect. Signed-off-by: Klaus-D. Wacker <[email protected]> Signed-off-by: Ursula Braun <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
261893d30b
commit
9b3b9ab6a7
1 changed files with 2 additions and 1 deletions
|
|
@ -1412,7 +1412,8 @@ lcs_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb)
|
|||
}
|
||||
/* How far in the ccw chain have we processed? */
|
||||
if ((channel->state != LCS_CH_STATE_INIT) &&
|
||||
(irb->scsw.cmd.fctl & SCSW_FCTL_START_FUNC)) {
|
||||
(irb->scsw.cmd.fctl & SCSW_FCTL_START_FUNC) &&
|
||||
(irb->scsw.cmd.cpa != 0)) {
|
||||
index = (struct ccw1 *) __va((addr_t) irb->scsw.cmd.cpa)
|
||||
- channel->ccws;
|
||||
if ((irb->scsw.cmd.actl & SCSW_ACTL_SUSPENDED) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue