Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249427
b: refs/heads/master
c: 8a251ff
h: refs/heads/master
i:
  249425: 90cbce9
  249423: f968eb5
v: v3
  • Loading branch information
Ramesh Babu K V authored and Greg Kroah-Hartman committed May 10, 2011
1 parent af2eae3 commit f0aef58
Show file tree
Hide file tree
Showing 13 changed files with 888 additions and 382 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb02c700d265b9ae516c1e5facdf4257163ae39d
refs/heads/master: 8a251ff2fc991b88c8497273c5a223bcbfb81e5d
16 changes: 16 additions & 0 deletions trunk/drivers/staging/intel_sst/intel_sst.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* This file is shared between the SST and MAD drivers
*/
#include "intel_sst_ioctl.h"
#include <sound/jack.h>

#define SST_CARD_NAMES "intel_mid_card"

Expand Down Expand Up @@ -88,6 +89,7 @@ struct snd_pmic_ops {
int output_dev_id;
int lineout_dev_id, line_out_names_cnt;
int prev_lineout_dev_id;
bool jack_interrupt_status;
int (*set_input_dev) (u8 value);
int (*set_output_dev) (u8 value);
int (*set_lineout_dev) (u8 value);
Expand All @@ -109,11 +111,25 @@ struct snd_pmic_ops {
int (*power_down_pmic_pb) (unsigned int device);
int (*power_down_pmic_cp) (unsigned int device);
int (*power_down_pmic) (void);
void (*pmic_irq_cb) (void *cb_data, u8 value);
void (*pmic_irq_enable)(void *data);
int (*pmic_jack_enable) (void);
int (*pmic_get_mic_bias)(void *intelmaddata);
int (*pmic_set_headset_state)(int state);

unsigned int hw_dmic_map[MFLD_MAX_HW_CH];
unsigned int available_dmics;
int (*set_hw_dmic_route) (u8 index);
};

extern void sst_mad_send_jack_report(struct snd_jack *jack,
int buttonpressevent,
int status);


int intemad_set_headset_state(int state);
int intelmad_get_mic_bias(void);

struct intel_sst_pcm_control {
int (*open) (struct snd_sst_params *str_param);
int (*device_control) (int cmd, void *arg);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/intel_sst/intel_sst_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
* Common private declarations for SST
*/

#define SST_DRIVER_VERSION "1.2.15"
#define SST_VERSION_NUM 0x1215
#define SST_DRIVER_VERSION "1.2.17"
#define SST_VERSION_NUM 0x1217

/* driver names */
#define SST_DRV_NAME "intel_sst_driver"
Expand Down
Loading

0 comments on commit f0aef58

Please sign in to comment.