scanparam: Use configured values when available
authorAlain Michaud <alainm@chromium.org>
Wed, 1 Jul 2020 13:13:28 +0000 (13:13 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commite7ee4499d1c3f08c565f44a317b14e489a24f93c
tree28aa933bd32664b5eb8cd8fe8341ef012b0dded9
parente14037466b01cc83dca3453f7c812b9407237ce7
scanparam: Use configured values when available

This patch updates the scan parameter service to use the configured scan
parameters when available rather than the hardcoded kernel defaults.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/scanparam/scan.c