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 <[email protected]>
---
 drivers/staging/omapdce/dce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/omapdce/dce.c b/drivers/staging/omapdce/dce.c
index 87a45fa..2a7cbef 100644
--- a/drivers/staging/omapdce/dce.c
+++ b/drivers/staging/omapdce/dce.c
@@ -1296,7 +1296,7 @@ static int ioctl_codec_process(struct drm_device *dev, 
void *data,
 
                codec_get_quirks(priv, arg->codec_handle, &quirks);
 
-               ret = PTR_RET(get_paddr(priv, hdr(&req), &req->out_args, 
arg->out_args_bo));
+               ret = PTR_RET(get_paddr(priv, hdr(req), &req->out_args, 
arg->out_args_bo));
                if (ret)
                        return rpabort(hdr(req), ret);
 
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to