static int hub_call_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) { hub_set_call_mode(substream, 1); return 0; }
int hub_call_hw_free(struct snd_pcm_substream *substream) { DBG("\n"); hub_set_call_mode(substream, 0); // omap3_mux_config("OMAP_MCBSP3_TRISTATE"); omap_mux_init_signal("mcbsp3_fsx.safe_mode",OMAP_PIN_INPUT); omap_mux_init_signal("mcbsp3_clkx.safe_mode",OMAP_PIN_INPUT); omap_mux_init_signal("mcbsp3_dr.safe_mode",OMAP_PIN_INPUT); omap_mux_init_signal("mcbsp3_dx.safe_mode",OMAP_PIN_INPUT); return 0; }
int hub_call_hw_free(struct snd_pcm_substream *substream) { hub_set_call_mode(substream, 0); return 0; }