Loading drivers/mmc/host/cmdq_hci.c +18 −2 Original line number Diff line number Diff line Loading @@ -805,7 +805,7 @@ static int cmdq_request(struct mmc_host *mmc, struct mmc_request *mrq) if (err) { pr_err("%s: failed to configure crypto: err %d tag %d\n", mmc_hostname(mmc), err, tag); goto out; goto ice_err; } } Loading @@ -823,7 +823,7 @@ static int cmdq_request(struct mmc_host *mmc, struct mmc_request *mrq) if (err) { pr_err("%s: %s: failed to setup tx desc: %d\n", mmc_hostname(mmc), __func__, err); goto out; goto desc_err; } cq_host->mrq_slot[tag] = mrq; Loading @@ -843,6 +843,22 @@ ring_doorbell: /* Commit the doorbell write immediately */ wmb(); return err; desc_err: if (cq_host->ops->crypto_cfg_end) { err = cq_host->ops->crypto_cfg_end(mmc, mrq); if (err) { pr_err("%s: failed to end ice config: err %d tag %d\n", mmc_hostname(mmc), err, tag); } } if (!(cq_host->caps & CMDQ_CAP_CRYPTO_SUPPORT) && cq_host->ops->crypto_cfg_reset) cq_host->ops->crypto_cfg_reset(mmc, tag); ice_err: if (err) cmdq_runtime_pm_put(cq_host); out: return err; } Loading Loading
drivers/mmc/host/cmdq_hci.c +18 −2 Original line number Diff line number Diff line Loading @@ -805,7 +805,7 @@ static int cmdq_request(struct mmc_host *mmc, struct mmc_request *mrq) if (err) { pr_err("%s: failed to configure crypto: err %d tag %d\n", mmc_hostname(mmc), err, tag); goto out; goto ice_err; } } Loading @@ -823,7 +823,7 @@ static int cmdq_request(struct mmc_host *mmc, struct mmc_request *mrq) if (err) { pr_err("%s: %s: failed to setup tx desc: %d\n", mmc_hostname(mmc), __func__, err); goto out; goto desc_err; } cq_host->mrq_slot[tag] = mrq; Loading @@ -843,6 +843,22 @@ ring_doorbell: /* Commit the doorbell write immediately */ wmb(); return err; desc_err: if (cq_host->ops->crypto_cfg_end) { err = cq_host->ops->crypto_cfg_end(mmc, mrq); if (err) { pr_err("%s: failed to end ice config: err %d tag %d\n", mmc_hostname(mmc), err, tag); } } if (!(cq_host->caps & CMDQ_CAP_CRYPTO_SUPPORT) && cq_host->ops->crypto_cfg_reset) cq_host->ops->crypto_cfg_reset(mmc, tag); ice_err: if (err) cmdq_runtime_pm_put(cq_host); out: return err; } Loading