Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 501dbd9e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: core: fix sequence for new transfer"

parents f86c482a 77dc5875
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -641,7 +641,6 @@ int bhi_probe(struct mhi_device_ctxt *mhi_dev_ctxt)
		image += to_copy;
	}

	fw_table->sequence++;
	release_firmware(firmware);

	/* allocate memory and setup rddm table */
@@ -662,7 +661,6 @@ int bhi_probe(struct mhi_device_ctxt *mhi_dev_ctxt)
					rddm_table->bhie_mem_info[i].phys_addr;
				sg_dma_len(itr) = size;
			}
			rddm_table->sequence++;
		} else {
			/* out of memory for rddm, not fatal error */
			mhi_log(mhi_dev_ctxt, MHI_MSG_INFO,
+1 −0
Original line number Diff line number Diff line
@@ -459,6 +459,7 @@ static int mhi_plat_probe(struct platform_device *pdev)
			return r;
		}
		INIT_WORK(&bhi_ctxt->fw_load_work, bhi_firmware_download);
		bhi_ctxt->fw_table.sequence = 1;
	}

	mhi_dev_ctxt->flags.bb_required =
+1 −0
Original line number Diff line number Diff line
@@ -1898,6 +1898,7 @@ int mhi_register_device(struct mhi_device *mhi_device,
	if (mhi_device->support_rddm) {
		mhi_dev_ctxt->bhi_ctxt.support_rddm = true;
		mhi_dev_ctxt->bhi_ctxt.rddm_size = mhi_device->rddm_size;
		mhi_dev_ctxt->bhi_ctxt.rddm_table.sequence = 1;

		mhi_log(mhi_dev_ctxt, MHI_MSG_INFO,
			"Device support rddm of size:0x%lx bytes\n",