msm: camera: Refactor ISP start stop sequence
Ioctl to start/stop ISP hardware streams need to
block until the configuration is done and settings
are applied to the hardware register. This will ensure
race conditions where memory get unmapped while the
hardware is still accessing memory and result in page faults.
This change ensure start and stop commands blocks until
ISP register update ack irq gets fired in the next frame.
Change-Id: Iced2bd7b40af3e11f4270c9d18fcfc7c08d3ceb6
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
3 files changed