summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-17 15:30:44 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-17 15:37:20 +0100
commit6c5f1fed49f96a0600aa9a97ac3faf972c33a341 (patch)
tree4a5770faede21a49e604321ac19679eb3175deb8 /sound/soc/soc-core.c
parentASoC: TWL4030: Use codec defaults for Headset initial configuration (diff)
downloadlinux-6c5f1fed49f96a0600aa9a97ac3faf972c33a341.tar.xz
linux-6c5f1fed49f96a0600aa9a97ac3faf972c33a341.zip
ASoC: Make pmdown_time a long
Fixes a warning. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index c2008bc9c64a..e1c0336868e1 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -136,7 +136,7 @@ static ssize_t pmdown_time_show(struct device *dev,
struct snd_soc_device *socdev = dev_get_drvdata(dev);
struct snd_soc_card *card = socdev->card;
- return sprintf(buf, "%d\n", card->pmdown_time);
+ return sprintf(buf, "%ld\n", card->pmdown_time);
}
static ssize_t pmdown_time_set(struct device *dev,