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

Commit 7cfae845 authored by Kranthikumar Kurapati's avatar Kranthikumar Kurapati Committed by Gerrit - the friendly Code Review server
Browse files

crypto: qce50: set BAM ipc log level



Specify the BAM logging granularity for qce50 BAM use cases.

Change-Id: I6c067ab0f6afc1ec7a4d8f5f7665a71493dceafa
Acked-by: default avatarChe-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: default avatarKranthikumar Kurapati <kkurap@codeaurora.org>
parent b6a4104f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2808,7 +2808,7 @@ static int qce_sps_get_bam(struct qce_device *pce_dev)
		bam.manage = SPS_BAM_MGR_LOCAL;

	bam.ee = pce_dev->ce_bam_info.bam_ee;

	bam.ipc_loglevel = QCE_BAM_DEFAULT_IPC_LOGLVL;
	pr_debug("bam physical base=0x%lx\n", (uintptr_t)bam.phys_addr);
	pr_debug("bam virtual base=0x%p\n", bam.virt_addr);

+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@
#define QCE_MAX_NUM_DESC    128
#define SPS_MAX_PKT_SIZE  (32 * 1024  - 64)

/* default bam ipc log level */
#define QCE_BAM_DEFAULT_IPC_LOGLVL 2

/* State of consumer/producer Pipe */
enum qce_pipe_st_enum {
	QCE_PIPE_STATE_IDLE = 0,