summaryrefslogtreecommitdiff
path: root/block/bsg.c
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2021-03-22 20:15:32 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-03-25 11:14:10 -0700
commit9d41359caca7cdc6d3011ba4e485e89d40505e81 (patch)
tree64fe4318653f96a0706e413f789ec6b9b4ab79ff /block/bsg.c
parentf1d2809de97adc422967b6de59f0f6199769eb93 (diff)
Input: iqs5xx - make reset GPIO optional
The device's hardware reset pin is only required if the platform must be able to update the device's firmware. As such, demote the reset GPIO to optional in support of devices that ship with pre-programmed firmware and don't route the reset pin back to the SoC. In that case, the 'fw_file' attribute is hidden because there is no way to open the bootloader. The logic is extended to the case in which the device does not advertise bootloader support in the first place. Last but not least, remove the hardware reset performed at probe because there is no reason to reset the device manually. A power on reset function already ensures a clean reset at start-up. Signed-off-by: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/20210323021006.367-1-jeff@labundy.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions