ARM: S3C64XX: Fix fallthrough bug in i2sv3 gpio configuration, improve logging
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Thu, 26 Aug 2010 15:07:23 +0000 (16:07 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 27 Aug 2010 10:23:27 +0000 (11:23 +0100)
commite4b6b74ffd32d114227a5dcfe814e2cecd80554b
tree4db9ddd774de46c19fa0035928625e6e901b7747
parentfbd60ce79170d4060127718df23bc13a270c7d95
ARM: S3C64XX: Fix fallthrough bug in i2sv3 gpio configuration, improve logging

If the platform device id is 1, the code will fallthrough the
case and incorrectly return -EINVAL. Add a break to avoid fallthrough.

Make logging slightly more verbose by including the device id.

This fixes an issue only present in multi-component.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-s3c64xx/dev-audio.c