diff options
author | Guoniu.zhou <guoniu.zhou@nxp.com> | 2019-12-20 10:51:07 +0800 |
---|---|---|
committer | Guoniu.zhou <guoniu.zhou@nxp.com> | 2019-12-20 13:34:14 +0800 |
commit | a20f232a9729932c43875433e7ba20b665227b38 (patch) | |
tree | ef79eee6ecb080e192b4fa03d8c9cd828021881b /arch/arm64/boot/dts/freescale/imx8qm-ss-gpu.dtsi | |
parent | 63fbce00645702152d3cf67a7518b7b4fec4f686 (diff) |
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qm-ss-gpu.dtsi')
0 files changed, 0 insertions, 0 deletions