msm: camera: add check to ensure user task wont hog CPU
If userspace provides a circular list to isp kenrel driver through an ioctl, then dirver loops forever. This way the task might hog the CPU in while loop. To fix this issue, added a preset count to break the loop after 100 iterations. CRs-Fixed: 1064608 Change-Id: Ie896fd3da326e5e972266d8004baecf8681aea6d Signed-off-by:VijayaKumar T M <vtmuni@codeaurora.org> Signed-off-by:
Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Loading
Please register or sign in to comment