Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2 authored by Linus Torvalds on 06 March 2022, 22:28:31 UTC
Linux 5.17-rc7
Tip revision: ffb217a
lpass-wsa-macro.h
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __LPASS_WSA_MACRO_H__
#define __LPASS_WSA_MACRO_H__

/*
 * Selects compander and smart boost settings
 * for a given speaker mode
 */
enum {
	WSA_MACRO_SPKR_MODE_DEFAULT,
	WSA_MACRO_SPKR_MODE_1, /* COMP Gain = 12dB, Smartboost Max = 5.5V */
};

int wsa_macro_set_spkr_mode(struct snd_soc_component *component, int mode);

#endif /* __LPASS_WSA_MACRO_H__ */
back to top