commit | c2a557ca7c83963156770f6e4212619969c29714 | [log] [tgz] |
---|---|---|
author | Vinay Kalia <vkalia@codeaurora.org> | Fri Aug 03 11:39:47 2012 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Fri Aug 10 11:04:23 2012 -0600 |
tree | 8342c0ad654b1ea2cf21dc89784c431be151bcf3 | |
parent | 90b2cca21b417887a8a221c323cbf012dd44ba99 [diff] |
msm: vidc: Fix scratch buffer allocation. In some cases, firmware is reqesting driver to allocate one scratch with size zero, eg: if height and width is set to zero on firmware. This change handles this scenario appropriately to avoid kernel panic. Change-Id: If670f91ef600678af8e246934f685defcb7fdfeb Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>