i3c/master: cmd_v1: Fix the exit criteria for the daa procedure
authorBilly Tsai <billy_tsai@aspeedtech.com>
Wed, 2 Aug 2023 10:09:09 +0000 (18:09 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 10 Aug 2023 07:37:25 +0000 (09:37 +0200)
commitcbf871e6d8ce23dd4d458d8b7ab9d4a267e7bc03
treeceb63b2e2e49418aecb4655700004624523433bb
parent574ca75f8d2935053872aa1b15d8ba24bfb5e51c
i3c/master: cmd_v1: Fix the exit criteria for the daa procedure

The exit criteria for the DAA should check if the data length is equal to
1, instead of checking if the response status is equal to 1.

Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Link: https://lore.kernel.org/r/20230802100909.2568215-1-billy_tsai@aspeedtech.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/cmd_v1.c