]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commitdiff
CHROMIUM: ALSA: hda/ca0132 - log all chip io errors.
authorDylan Reid <dgreid@chromium.org>
Wed, 19 Dec 2012 18:34:34 +0000 (10:34 -0800)
committerDylan Reid <dgreid@chromium.org>
Thu, 17 Jan 2013 22:12:07 +0000 (14:12 -0800)
Any time that a transaction with the chip times out log it as an error.

BUG=chrome-os-partner:14465
TEST=none.

Change-Id: I5b08a9c64d3ae8d48107b193604c6c751bf67499
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/39982
(cherry picked from commit eb5fb55122a5d725217a6d34bcae91bacaa53958)
Reviewed-on: https://gerrit.chromium.org/gerrit/41581

sound/pci/hda/patch_ca0132.c

index 1fc82d308dec996458c8d6a0790211c504f11734..7a7067902508bea56428e10313787f01bc5291d0 100644 (file)
@@ -822,6 +822,7 @@ static int chipio_send(struct hda_codec *codec,
        } while (time_before(jiffies, timeout));
 
        CTASSERT(0);
+       printk(KERN_ERR"CA0132 chipio timed out %x %x\n", reg, data);
        return -1;
 }