diff options
| author | Javi Merino <[email protected]> | 2011-12-21 10:19:00 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2012-01-03 15:16:25 +0000 |
| commit | f98b9a26fe08f7f9d7fb26ee3d9f167f79b2f6b6 (patch) | |
| tree | 086ebd4a3724e6ff6b3bd9dd0cadf4efbcb0bd50 /net/unix/af_unix.c | |
| parent | ARM: 7184/1: fix $(CROSS_COMPILE) prefix missing from size invocation (diff) | |
| download | kernel-f98b9a26fe08f7f9d7fb26ee3d9f167f79b2f6b6.tar.gz kernel-f98b9a26fe08f7f9d7fb26ee3d9f167f79b2f6b6.zip | |
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: <CAJe_ZhftO+481BfL0ErEcM_brfmSuTXkTEniLRYxxM2T7OM2QA@mail.gmail.com>
Signed-off-by: Javi Merino <[email protected]>
Acked-by: Jassi Brar <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
