]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: proximity: hx9023s: Added firmware file parsing functionality
authorYasin Lee <yasin.lee.x@gmail.com>
Mon, 16 Dec 2024 07:59:40 +0000 (15:59 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Dec 2024 14:28:14 +0000 (14:28 +0000)
commite9ed97be4fccd44beae4347eed38ea801c5d814d
tree3e41c41d1be0f90986ec64df84d67f8104edf435
parent0b9c8583b144be3ad3e48f661315fab64566a065
iio: proximity: hx9023s: Added firmware file parsing functionality

Configuration information is now prioritized from the firmware file.
If the firmware file is missing or fails to parse, the driver falls
back to using the default configuration list for writing the settings.

Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
Link: https://patch.msgid.link/20241216-hx9023s-firmware-20241209-v2-1-ce1b0a1121d0@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/hx9023s.c