diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-12 18:46:03 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-26 15:24:10 -0500 |
commit | f006d8fc53c461aa66a9265597494f83ddf4f53d (patch) | |
tree | f55fc18e66d36bc7229ab627f9377a3d00998c4e /sound | |
parent | 58e8a4741b519910cdabdd55c23f258e40cf6a3a (diff) |
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')
-rw-r--r-- | sound/arm/aaci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 8915e56d1b51..1e6d5f6591de 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) | |||
902 | strlcpy(card->driver, DRIVER_NAME, sizeof(card->driver)); | 902 | strlcpy(card->driver, DRIVER_NAME, sizeof(card->driver)); |
903 | strlcpy(card->shortname, "ARM AC'97 Interface", sizeof(card->shortname)); | 903 | strlcpy(card->shortname, "ARM AC'97 Interface", sizeof(card->shortname)); |
904 | snprintf(card->longname, sizeof(card->longname), | 904 | snprintf(card->longname, sizeof(card->longname), |
905 | "%s at 0x%016llx, irq %d", | 905 | "%s PL%03x rev%u at 0x%08llx, irq %d", |
906 | card->shortname, (unsigned long long)dev->res.start, | 906 | card->shortname, amba_part(dev), amba_rev(dev), |
907 | dev->irq[0]); | 907 | (unsigned long long)dev->res.start, dev->irq[0]); |
908 | 908 | ||
909 | aaci = card->private_data; | 909 | aaci = card->private_data; |
910 | mutex_init(&aaci->ac97_sem); | 910 | mutex_init(&aaci->ac97_sem); |