RE: [PATCH v1 4/4]use HPI to interrupt background operations

From: Dong, Chuanxiao
Date: Tue Nov 23 2010 - 23:33:47 EST


> > +       opcode = card->ext_csd.hpi_cmd;
> > +       if (opcode == MMC_STOP_TRANSMISSION)
> > +               flags = MMC_RSP_R1B | MMC_CMD_AC;
> > +       else if (opcode == MMC_SEND_STATUS)
> > +               flags = MMC_RSP_R1 | MMC_CMD_AC;
> > +       else
> > +               return -EINVAL;
> > +
> > +       memset(&cmd, 0, sizeof(struct mmc_command));
> > +       cmd.opcode = opcode;
> > +       cmd.arg = card->rca << 16 | 1;
> Maybe missing set the flags;
> cmd.flags = flags;
>
> Thank you,
> Kyungmin Park

Thank you Park, will fix these bad mistake in the next version submission.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/