aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-12 23:46:03 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-26 20:24:10 +0000
commitf006d8fc53c461aa66a9265597494f83ddf4f53d (patch)
treef55fc18e66d36bc7229ab627f9377a3d00998c4e /sound/arm
parent58e8a4741b519910cdabdd55c23f258e40cf6a3a (diff)
downloadkernel_goldelico_gta04-f006d8fc53c461aa66a9265597494f83ddf4f53d.zip
kernel_goldelico_gta04-f006d8fc53c461aa66a9265597494f83ddf4f53d.tar.gz
kernel_goldelico_gta04-f006d8fc53c461aa66a9265597494f83ddf4f53d.tar.bz2
ALSA: AACI: clean up AACI announcement printk
Make the AACI announcement printk say which primecell part number has been found. Display the revision as an unsigned decimal, and display only the first 8 hex digits of the base address unless it's larger. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'sound/arm')
-rw-r--r--sound/arm/aaci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index 8915e56..1e6d5f6 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -902,9 +902,9 @@ static struct aaci * __devinit aaci_init_card(struct amba_device *dev)
strlcpy(card->driver, DRIVER_NAME, sizeof(card->driver));
strlcpy(card->shortname, "ARM AC'97 Interface", sizeof(card->shortname));
snprintf(card->longname, sizeof(card->longname),
- "%s at 0x%016llx, irq %d",
- card->shortname, (unsigned long long)dev->res.start,
- dev->irq[0]);
+ "%s PL%03x rev%u at 0x%08llx, irq %d",
+ card->shortname, amba_part(dev), amba_rev(dev),
+ (unsigned long long)dev->res.start, dev->irq[0]);
aaci = card->private_data;
mutex_init(&aaci->ac97_sem);