From: Javi Merino Date: Wed, 21 Dec 2011 10:19:00 +0000 (+0100) Subject: ARM: 7242/1: PL330: Detach the request from the pl330_thread when it finishes successful X-Git-Tag: v3.3-rc1~176^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98b9a26fe08f7f9d7fb26ee3d9f167f79b2f6b6;p=pandora-kernel.git ARM: 7242/1: PL330: Detach the request from the pl330_thread when it finishes successful When a request has finished successfully and we are about to call its callback, remove its pointer from the corresponding pl330_thread . This prevents the core driver from calling its callback again if pl330_release_channel() is called without first flushing the device. When pl330_update() returns, the driver is allowed to free the pointer to pl330_req so the core driver shouldn't be able to access it again. Reference: Signed-off-by: Javi Merino Acked-by: Jassi Brar Signed-off-by: Russell King --- Reading git-diff-tree failed