From: Mike Frysinger Date: Sun, 5 Aug 2012 01:54:05 +0000 (-0400) Subject: sh: dma: fix request_irq usage X-Git-Tag: v3.6-rc2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800fb3ddee2c50918d651fbd70515f1e38857305;p=pandora-kernel.git sh: dma: fix request_irq usage When calling request_irq with IRQF_SHARED, the dev cookie must be set (i.e. non-NULL), otherwise the code rejects it immediately with -EINVAL. So restore the logic here where we'd pass a pointer to the name as a dummy unique val. Otherwise, booting up on my LANDISK system would fail with: DMAC Address Error0 request_irq fail This was introduced in commit 7f47c7189b3e8f19a589f77a3ad169d7b691b582. Signed-off-by: Mike Frysinger Signed-off-by: Paul Mundt --- Reading git-diff-tree failed