36384ecca2
Trigger xt logging getparam at every playback close and store data. When app queries sys/class node, return stored values and reset to 0 for some params as per app requirement. Change-Id: Ice1a3e9a7e03062390f1c36184a971635e55d450 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
20 lines
363 B
C
20 lines
363 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SP_PARAMS_H__
|
|
#define __SP_PARAMS_H__
|
|
|
|
#if IS_ENABLED(CONFIG_XT_LOGGING)
|
|
int afe_get_sp_xt_logging_data(u16 port_id);
|
|
#else
|
|
static inline int afe_get_sp_xt_logging_data(u16 port_id)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __SP_PARAMS_H__ */
|
|
|