All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Allow register defaults to be larger than unsigned short
@ 2011-08-24 18:13 Mark Brown
  2011-08-31 10:54 ` Liam Girdwood
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-08-24 18:13 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Devices that need this exist; obviously the newer regmap defaults
mechanism will deal with this more happily.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 include/sound/soc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/sound/soc.h b/include/sound/soc.h
index 6da55a1..0fc8f15 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -622,7 +622,7 @@ struct snd_soc_codec_driver {
 	int (*volatile_register)(struct snd_soc_codec *, unsigned int);
 	int (*readable_register)(struct snd_soc_codec *, unsigned int);
 	int (*writable_register)(struct snd_soc_codec *, unsigned int);
-	short reg_cache_size;
+	unsigned int reg_cache_size;
 	short reg_cache_step;
 	short reg_word_size;
 	const void *reg_cache_default;
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Allow register defaults to be larger than unsigned short
  2011-08-24 18:13 [PATCH] ASoC: Allow register defaults to be larger than unsigned short Mark Brown
@ 2011-08-31 10:54 ` Liam Girdwood
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2011-08-31 10:54 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, patches

On 24/08/11 19:13, Mark Brown wrote:
> Devices that need this exist; obviously the newer regmap defaults
> mechanism will deal with this more happily.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  include/sound/soc.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/sound/soc.h b/include/sound/soc.h
> index 6da55a1..0fc8f15 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -622,7 +622,7 @@ struct snd_soc_codec_driver {
>  	int (*volatile_register)(struct snd_soc_codec *, unsigned int);
>  	int (*readable_register)(struct snd_soc_codec *, unsigned int);
>  	int (*writable_register)(struct snd_soc_codec *, unsigned int);
> -	short reg_cache_size;
> +	unsigned int reg_cache_size;
>  	short reg_cache_step;
>  	short reg_word_size;
>  	const void *reg_cache_default;

Acked-by: Liam Girdwood <lrg@ti.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-31 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 18:13 [PATCH] ASoC: Allow register defaults to be larger than unsigned short Mark Brown
2011-08-31 10:54 ` Liam Girdwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.