diff options
author | Charlie Mooney <charliemooney@chromium.org> | 2015-06-08 23:48:23 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-06-09 00:12:25 (GMT) |
commit | 7b9f1830745cb3ad9e0f3774e83900610cedd39c (patch) | |
tree | e7fb5b43a30524e2c05261df219da205125cc0fd /fs/f2fs/inode.c | |
parent | 12018ac3d679d6a3c6c738ac805797fe4dd43912 (diff) | |
download | linux-7b9f1830745cb3ad9e0f3774e83900610cedd39c.tar.xz |
Input: elan_i2c - add product IDs FW names
Previously the elan_i2c touchpad driver would simply request the firmware
"/lib/firmware/elan_i2c.bin", which does not work well if there are
multiple such devices in the system.
Let's append the "product ID" (by using the same function as the sysfs
interface for consistency) to the filename. This results in filenames of
the form "/lib/firmware/elan_i2c_72.0.bin", allowing you to support
multiple elan_i2c touchpads on the same device by simply naming each
device's FW with its corresponding product ID. This way when you trigger a
fw update the driver will load the correct binary.
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'fs/f2fs/inode.c')
0 files changed, 0 insertions, 0 deletions