From: Guennadi Liakhovetski Date: Thu, 6 Jan 2011 17:04:50 +0000 (+0000) Subject: dma: shdma: don't register the global die notifier multiple times X-Git-Tag: v2.6.38-rc1~462^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661382fe190475c17d0b3a6b5f0350b4f82f5939;p=pandora-kernel.git dma: shdma: don't register the global die notifier multiple times A recent patch has added a die notifier to the shdma driver, however, it registers a static die-notifier object in the probe routine, i.e., for each device instance. This is wrong and leads to a system lockup. This patch moves the die notifier registration to module init and exit routines respectively. Reported-by: Magnus Damm Signed-off-by: Guennadi Liakhovetski Signed-off-by: Paul Mundt --- Reading git-diff-tree failed