diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2011-03-28 06:39:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-30 17:20:37 -0400 |
commit | fbda18245beff52ec1edf096e7a77d4cdf3effb9 (patch) | |
tree | fe9719c4dda4a172fafd705e1335a011655b3c2e /sound/soc/soc-cache.c | |
parent | 2c66cb99d134d787827ed1cd93cc59351ab66a95 (diff) |
ASoC: soc-cache: Fix indentation issues
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-cache.c')
-rw-r--r-- | sound/soc/soc-cache.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c index 1210a6f70a90..22c0b95fb007 100644 --- a/sound/soc/soc-cache.c +++ b/sound/soc/soc-cache.c | |||
@@ -93,13 +93,13 @@ static unsigned int do_hw_read(struct snd_soc_codec *codec, unsigned int reg) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | static unsigned int snd_soc_4_12_read(struct snd_soc_codec *codec, | 95 | static unsigned int snd_soc_4_12_read(struct snd_soc_codec *codec, |
96 | unsigned int reg) | 96 | unsigned int reg) |
97 | { | 97 | { |
98 | return do_hw_read(codec, reg); | 98 | return do_hw_read(codec, reg); |
99 | } | 99 | } |
100 | 100 | ||
101 | static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, | 101 | static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, |
102 | unsigned int value) | 102 | unsigned int value) |
103 | { | 103 | { |
104 | u8 data[2]; | 104 | u8 data[2]; |
105 | 105 | ||
@@ -111,7 +111,7 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, | |||
111 | 111 | ||
112 | #if defined(CONFIG_SPI_MASTER) | 112 | #if defined(CONFIG_SPI_MASTER) |
113 | static int snd_soc_4_12_spi_write(void *control_data, const char *data, | 113 | static int snd_soc_4_12_spi_write(void *control_data, const char *data, |
114 | int len) | 114 | int len) |
115 | { | 115 | { |
116 | u8 msg[2]; | 116 | u8 msg[2]; |
117 | 117 | ||
@@ -209,7 +209,7 @@ static unsigned int snd_soc_8_16_read(struct snd_soc_codec *codec, | |||
209 | 209 | ||
210 | #if defined(CONFIG_SPI_MASTER) | 210 | #if defined(CONFIG_SPI_MASTER) |
211 | static int snd_soc_8_16_spi_write(void *control_data, const char *data, | 211 | static int snd_soc_8_16_spi_write(void *control_data, const char *data, |
212 | int len) | 212 | int len) |
213 | { | 213 | { |
214 | u8 msg[3]; | 214 | u8 msg[3]; |
215 | 215 | ||
@@ -257,7 +257,7 @@ static unsigned int do_i2c_read(struct snd_soc_codec *codec, | |||
257 | 257 | ||
258 | #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE)) | 258 | #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE)) |
259 | static unsigned int snd_soc_8_8_read_i2c(struct snd_soc_codec *codec, | 259 | static unsigned int snd_soc_8_8_read_i2c(struct snd_soc_codec *codec, |
260 | unsigned int r) | 260 | unsigned int r) |
261 | { | 261 | { |
262 | u8 reg = r; | 262 | u8 reg = r; |
263 | u8 data; | 263 | u8 data; |
@@ -307,13 +307,13 @@ static unsigned int snd_soc_16_8_read_i2c(struct snd_soc_codec *codec, | |||
307 | #endif | 307 | #endif |
308 | 308 | ||
309 | static unsigned int snd_soc_16_8_read(struct snd_soc_codec *codec, | 309 | static unsigned int snd_soc_16_8_read(struct snd_soc_codec *codec, |
310 | unsigned int reg) | 310 | unsigned int reg) |
311 | { | 311 | { |
312 | return do_hw_read(codec, reg); | 312 | return do_hw_read(codec, reg); |
313 | } | 313 | } |
314 | 314 | ||
315 | static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, | 315 | static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, |
316 | unsigned int value) | 316 | unsigned int value) |
317 | { | 317 | { |
318 | u8 data[3]; | 318 | u8 data[3]; |
319 | 319 | ||
@@ -327,7 +327,7 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, | |||
327 | 327 | ||
328 | #if defined(CONFIG_SPI_MASTER) | 328 | #if defined(CONFIG_SPI_MASTER) |
329 | static int snd_soc_16_8_spi_write(void *control_data, const char *data, | 329 | static int snd_soc_16_8_spi_write(void *control_data, const char *data, |
330 | int len) | 330 | int len) |
331 | { | 331 | { |
332 | u8 msg[3]; | 332 | u8 msg[3]; |
333 | 333 | ||
@@ -379,7 +379,7 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg, | |||
379 | 379 | ||
380 | #if defined(CONFIG_SPI_MASTER) | 380 | #if defined(CONFIG_SPI_MASTER) |
381 | static int snd_soc_16_16_spi_write(void *control_data, const char *data, | 381 | static int snd_soc_16_16_spi_write(void *control_data, const char *data, |
382 | int len) | 382 | int len) |
383 | { | 383 | { |
384 | u8 msg[4]; | 384 | u8 msg[4]; |
385 | 385 | ||