drm/vigs: fix dpi allow range 72/265472/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 19 Oct 2021 06:22:49 +0000 (15:22 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 20 Oct 2021 08:13:06 +0000 (08:13 +0000)
commit6f5124edc25c9f6981bd503064bf46a37dfc7787
tree94bf8e0b96a24cf56f4f5e3df02f15b5545b8879
parent89ea13b5ecb6424184184260def2ad0a70f551cf
drm/vigs: fix dpi allow range

Fix dpi allow range with 1 to 1000. Also, set min or max value
for value in out of the range.

Change-Id: I89837120b1d0128f1194c86d323d35ca269ef71e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/drm/vigs/vigs_output.c