mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
800fb3ddee
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
|
||
---|---|---|
.. | ||
dma-api.c | ||
dma-g2.c | ||
dma-pvr2.c | ||
dma-sh.c | ||
dma-sysfs.c | ||
dmabrg.c | ||
Kconfig | ||
Makefile |