msm: sps: add option to constrain logging for BAM HW enable event

When a BAM device is enabled, we have log to show the presence of BAM HW.
This logging works fine for most BAMs. However, A2 BAM may be enabled and
disabled frequently when A2 power collapse is enabled. And thus we may have
frequent logging output for A2 BAM. Add the logging option in BAM property
structure so that we could constrain the logging output for A2 BAM.

Change-Id: I14f32f02d32cdf9c6fd4d16f6517ee1305a3ae13
Signed-off-by: Yan He <yanhe@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/sps.h b/arch/arm/mach-msm/include/mach/sps.h
index c20576a..20dd181 100644
--- a/arch/arm/mach-msm/include/mach/sps.h
+++ b/arch/arm/mach-msm/include/mach/sps.h
@@ -408,6 +408,11 @@
 
 	u32 sec_config;
 	struct sps_bam_sec_config_props *p_sec_config_props;
+
+	/* Logging control */
+
+	bool constrained_logging;
+	u32 logging_number;
 };
 
 /**