]> Pileus Git - ~andy/linux/blobdiff - include/sound/soc.h
sched: Add missing state chars to TASK_STATE_TO_CHAR_STR
[~andy/linux] / include / sound / soc.h
index 310a21949a3ede902c9402428f0707097bc14d13..0d7718f9280db3e00e3da7e4232fa231510e0673 100644 (file)
@@ -230,6 +230,7 @@ int snd_soc_new_pcms(struct snd_soc_device *socdev, int idx, const char *xid);
 /* Utility functions to get clock rates from various things */
 int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots);
 int snd_soc_params_to_frame_size(struct snd_pcm_hw_params *params);
+int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots);
 int snd_soc_params_to_bclk(struct snd_pcm_hw_params *parms);
 
 /* set runtime hw params */
@@ -332,6 +333,8 @@ struct snd_soc_jack_gpio {
        int debounce_time;
        struct snd_soc_jack *jack;
        struct work_struct work;
+
+       int (*jack_status_check)(void);
 };
 #endif