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

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

Merge "msm: mhi_dev: Log BHI_IMGTXDB register"

parents 7490d3a1 d9231f15
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1494,6 +1494,7 @@ static void mhi_dev_scheduler(struct work_struct *work)
	enum mhi_dev_state state;
	enum mhi_dev_event event = 0;
	bool mhi_reset = false;
	uint32_t bhi_imgtxdb = 0;

	mutex_lock(&mhi_ctx->mhi_lock);
	/* Check for interrupts */
@@ -1531,6 +1532,10 @@ static void mhi_dev_scheduler(struct work_struct *work)
			pr_err("error sending SM event\n");
			goto fail;
		}

		rc = mhi_dev_mmio_read(mhi, BHI_IMGTXDB, &bhi_imgtxdb);
		mhi_log(MHI_MSG_VERBOSE,
			"BHI_IMGTXDB = 0x%x\n", bhi_imgtxdb);
	}

	if (int_value & MHI_MMIO_CTRL_CRDB_STATUS_MSK) {
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2015, 2017-2018 The Linux Foundation. All rights reserved.
/* Copyright (c) 2015, 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -192,4 +192,6 @@
#define BHI_EXECENV_MASK				0xFFFFFFFF
#define BHI_EXECENV_SHIFT				0

#define BHI_IMGTXDB					(0x218)

#endif