]> git.openpandora.org Git - pandora-kernel.git/commitdiff
dmaengine: rcar-dmac: Fix oops due to unintialized list in error ISR
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 Jan 2015 13:58:53 +0000 (15:58 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Feb 2015 04:03:33 +0000 (09:33 +0530)
The error interrupt handler stops and reinitializes all channels. This
causes a crash for channels that have never been used, as their
descriptor lists are uninitialized. Fix it by initializing the
descriptor lists at probe time.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

No differences found