Skip to content

Commit

Permalink
Merge branch 'for-3.0' into for-3.1
Browse files Browse the repository at this point in the history
Trival fixup for move of I/O code into separate file.

Conflicts:
	sound/soc/soc-cache.c
  • Loading branch information
broonie committed Jun 13, 2011
2 parents 2231571 + e9c0390 commit 65fdd5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,7 @@ typedef int (*hw_write_t)(void *,const char* ,int);
extern struct snd_ac97_bus_ops soc_ac97_ops;

enum snd_soc_control_type {
SND_SOC_CUSTOM = 1,
SND_SOC_I2C,
SND_SOC_I2C = 1,
SND_SOC_SPI,
};

Expand Down
3 changes: 0 additions & 3 deletions sound/soc/soc-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,6 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
codec->bulk_write_raw = snd_soc_hw_bulk_write_raw;

switch (control) {
case SND_SOC_CUSTOM:
break;

case SND_SOC_I2C:
#if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE))
codec->hw_write = (hw_write_t)i2c_master_send;
Expand Down

0 comments on commit 65fdd5c

Please sign in to comment.