From: Anand Gadiyar Date: Mon, 28 Dec 2009 11:40:36 +0000 (+0200) Subject: usb: musb: workaround MUSB DMA_INTR sometimes reads zero X-Git-Tag: v2.6.34-rc1~215^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f933a0c0fe0ea5f49a35bcd45e3e4850e0606cba;p=pandora-kernel.git usb: musb: workaround MUSB DMA_INTR sometimes reads zero MUSB DMA_INTR register may sometimes read zero when infact there was a pending interrupt. Workaround this by reading the DMA_COUNT values for all enabled channels when this condition occurs. Flag these channels as the ones needing to be serviced. Additionally, the absence of a debug print meant we would never catch a spurious DMA interrupt in MUSB. So this patch adds a debug print in the IRQ handler. Signed-off-by: Anand Gadiyar Cc: Ajay Kumar Gupta Cc: David Brownell Cc: Sergei Shtylyov Cc: Vikram Pandita Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed