USB: typec: tsp6598x: Add cmd timeout and response delay
authorAbdel Alkuor <abdelalkuor@geotab.com>
Tue, 3 Oct 2023 15:58:35 +0000 (11:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 07:02:06 +0000 (09:02 +0200)
commit6ab6ad09e70795cda79d24b5119e735344133dbd
treeca49a89bb94c1e472eba68425c1f233f606ef41f
parent6060d554e89162e6d8c87e9322e26d0fe1f0dd47
USB: typec: tsp6598x: Add cmd timeout and response delay

Some commands in tps25750 take longer than 1 second
to complete, and some responses need some delay before
the result becomes available.

Signed-off-by: Abdel Alkuor <abdelalkuor@geotab.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231003155842.57313-3-alkuor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tipd/core.c