Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193310
b: refs/heads/master
c: b6877a4
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Mar 3, 2010
1 parent eb0fa01 commit 31aec91
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 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: a24d62d297fad31c866eef28e3d8b691a2b14a92
refs/heads/master: b6877a477d356a7c07a6c173d58c34a0a6abb086
22 changes: 22 additions & 0 deletions trunk/include/sound/wm8960.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* wm8960.h -- WM8960 Soc Audio driver platform data
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef _WM8960_PDATA_H
#define _WM8960_PDATA_H

#define WM8960_DRES_400R 0
#define WM8960_DRES_200R 1
#define WM8960_DRES_600R 2
#define WM8960_DRES_150R 3
#define WM8960_DRES_MAX 3

struct wm8960_data {
int dres; /* Discharge resistance for headphone outputs */
};

#endif
1 change: 1 addition & 0 deletions trunk/sound/soc/codecs/wm8960.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <sound/wm8960.h>

#include "wm8960.h"

Expand Down
10 changes: 0 additions & 10 deletions trunk/sound/soc/codecs/wm8960.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,4 @@
extern struct snd_soc_dai wm8960_dai;
extern struct snd_soc_codec_device soc_codec_dev_wm8960;

#define WM8960_DRES_400R 0
#define WM8960_DRES_200R 1
#define WM8960_DRES_600R 2
#define WM8960_DRES_150R 3
#define WM8960_DRES_MAX 3

struct wm8960_data {
int dres;
};

#endif

0 comments on commit 31aec91

Please sign in to comment.