Commits
Guoniu.zhou committed a20f232a972
LF-221: staging: media: imx: fix potential memory out of bound ISI will not do scale when output width or height equal to input width or height. But actully, in this case, the source image size is larger than target size. For instance, 640x480 resize to 640x400. ISI need to skip scaling operation only when output width and height equeal to input width and height, so change the OR logic into AND logic. Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com> Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>