Input: raydium_ts_i2c - do not send zero length
authorjeffrey.lin <jeffrey.lin@rad-ic.com>
Tue, 15 Dec 2020 18:50:12 +0000 (10:50 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Dec 2020 01:49:33 +0000 (17:49 -0800)
commitfafd320ae51b9c72d371585b2501f86640ea7b7d
tree448c897e7f72d04b6329829c8ebda85dedfed288
parent1e2020aa0da00051d94c4690c023c45d8f3834bd
Input: raydium_ts_i2c - do not send zero length

Add default write command package to prevent i2c quirk error of zero
data length as Raydium touch firmware update is executed.

Signed-off-by: jeffrey.lin <jeffrey.lin@rad-ic.com>
Link: https://lore.kernel.org/r/1608031217-7247-1-git-send-email-jeffrey.lin@raydium.corp-partner.google.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/raydium_i2c_ts.c