treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / include / sound / cs35l36.h
blob8f8049d390f05e492b7be269882a36e258a6de99
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * linux/sound/cs35l36.h -- Platform data for CS35L36
5 * Copyright 2018 Cirrus Logic, Inc.
7 * Author: James Schulman <james.schulman@cirrus.com>
9 */
11 #ifndef __CS35L36_H
12 #define __CS35L36_H
14 struct cs35l36_vpbr_cfg {
15 bool is_present;
16 bool vpbr_en;
17 int vpbr_thld;
18 int vpbr_atk_rate;
19 int vpbr_atk_vol;
20 int vpbr_max_attn;
21 int vpbr_wait;
22 int vpbr_rel_rate;
23 int vpbr_mute_en;
26 struct cs35l36_platform_data {
27 bool multi_amp_mode;
28 bool dcm_mode;
29 bool amp_pcm_inv;
30 bool imon_pol_inv;
31 bool vmon_pol_inv;
32 int boost_ind;
33 int bst_vctl;
34 int bst_vctl_sel;
35 int bst_ipk;
36 bool extern_boost;
37 int temp_warn_thld;
38 int irq_drv_sel;
39 int irq_gpio_sel;
40 struct cs35l36_vpbr_cfg vpbr_config;
43 #endif /* __CS35L36_H */