[media] bdisp: fix debug info memory access
authorFabien Dessenne <fabien.dessenne@st.com>
Mon, 13 Jul 2015 09:54:11 +0000 (06:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 12:53:37 +0000 (09:53 -0300)
commitbde2b96d6dfb1c14e5d27a4e7e7d492e9be102cd
treeef45df27a4c96521ebf25c08001ff047ca53239a
parent24310279eb2851a2bdef9b267b43b98e252ce435
[media] bdisp: fix debug info memory access

bdisp_dev->dbg.copy_node shall be a copy of (and not point to)
bdisp_ctx->node, since this resource is freed upon driver release.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/sti/bdisp/bdisp-hw.c