Use the new product_id sysfs for Melfas updates
Previously the Melfas updater used the hw_version sysfs entry to
identify the specific touch IC that it's trying to update. This has
been replaced by the new and improved product_id sysfs entry that
compliments a driver change that now suffixes the firmware filename
with the product ID when it requests the binary from /lib/firmware.
With this CL, the Melfas firmwares should now follow the typical
ChromeOS firmware naming convention with a product_id at the end of the
filename.
BUG=chrome-os-partner:56704
TEST=emerged and deployed on a Reks. Rebooting triggers updates
correctly with the new filename format. Everything went smoothly
when I updated to and back from old firmwares.
Change-Id: I95a3770e67f590158c0d7dbed47102423ea59e82
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/411290
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
1 file changed