msm-camera: fix subsystem ID address in JPEG

The address of the subsystem id stored in the jpeg
buffer structure was becoming invalid. This happened
because the buffer used for mapping was copied over to
a duplicate place and the second buffer was used for
unmapping, while the first one was freed.

Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
2 files changed