[PATCH] omapdce : clear transaction if engine_open rpsend fails

2013-10-03 Thread Varun B Patil
The next time the same transaction structure is used, when the req_id's wrap around, it should be completely cleared (memset) to avoid corruption. Signed-off-by: Varun B Patil --- drivers/staging/omapdce/dce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/st

[PATCH] omapdce : fix bug in ioctl_codec_process

2013-10-03 Thread Varun B Patil
Do not send already free'd pointer to rpabort when rpsend fails. Signed-off-by: Varun B Patil --- drivers/staging/omapdce/dce.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omapdce/dce.c b/drivers/staging/omapdce/dce.c index 2a7cbef..1d9b75c 1

[PATCH] omapdce : fix transaction corruption due to wrong request id

2013-10-03 Thread Varun B Patil
ioctl_codec_process was calling get_paddr() with a wrong pointer as argument which resulted in wrong req_id being used to get the transaction inside get_paddr(). Signed-off-by: Varun B Patil --- drivers/staging/omapdce/dce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a