[COMMON] media: scaler: fix middle buffer calculation
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Tue, 5 Jun 2018 05:44:23 +0000 (14:44 +0900)
committerJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 23 Jul 2018 05:39:44 +0000 (14:39 +0900)
commitbae0d61433d8aaa763eae170c3bb5eb8fa1d2545
tree37ba301c9fc3ed07d522af30a8290d1d767aefc7
parent5e04cb3299cc64a7498bcc4f5d24a2cabd6c02ea
[COMMON] media: scaler: fix middle buffer calculation

This patch added size calculation for 10bit pixel format to avoid page
fault when double scaling is operated with 10bit pixel format.

Change-Id: I1b00d991d08498131299f99476ccf398a6d77a2e
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c