Loading include/sound/wcd-dsp-mgr.h +12 −1 Original line number Original line Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */ /* /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ */ #ifndef __WCD_DSP_MGR_H__ #ifndef __WCD_DSP_MGR_H__ Loading Loading @@ -137,6 +137,17 @@ struct wdsp_mgr_ops { int (*resume)(struct device *wdsp_dev); int (*resume)(struct device *wdsp_dev); }; }; #ifdef CONFIG_WCD9XXX_CODEC_CORE int wcd_dsp_mgr_init(void); int wcd_dsp_mgr_init(void); void wcd_dsp_mgr_exit(void); void wcd_dsp_mgr_exit(void); #else static inline int wcd_dsp_mgr_init(void) { return 0; } static inline void wcd_dsp_mgr_exit(void) { } #endif #endif /* end of __WCD_DSP_MGR_H__ */ #endif /* end of __WCD_DSP_MGR_H__ */ Loading
include/sound/wcd-dsp-mgr.h +12 −1 Original line number Original line Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */ /* /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */ */ #ifndef __WCD_DSP_MGR_H__ #ifndef __WCD_DSP_MGR_H__ Loading Loading @@ -137,6 +137,17 @@ struct wdsp_mgr_ops { int (*resume)(struct device *wdsp_dev); int (*resume)(struct device *wdsp_dev); }; }; #ifdef CONFIG_WCD9XXX_CODEC_CORE int wcd_dsp_mgr_init(void); int wcd_dsp_mgr_init(void); void wcd_dsp_mgr_exit(void); void wcd_dsp_mgr_exit(void); #else static inline int wcd_dsp_mgr_init(void) { return 0; } static inline void wcd_dsp_mgr_exit(void) { } #endif #endif /* end of __WCD_DSP_MGR_H__ */ #endif /* end of __WCD_DSP_MGR_H__ */