Yang Yingliang 67fb0cc02f usb: typec: anx7411: Fix wrong pointer passed to PTR_ERR()
It should be 'ctx->typec.amode[i]' passed to PTR_ERR() when
typec_partner_register_altmode() failed.

Fixes: fe6d8a9c8e64 ("usb: typec: anx7411: Add Analogix PD ANX7411 support")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220721071201.269344-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-27 14:27:53 +02:00
..
2022-06-20 09:41:33 +02:00
2022-06-27 10:03:28 +02:00
2022-07-18 22:41:42 +02:00
2022-07-18 22:41:42 +02:00
2022-02-22 21:11:02 -05:00
2022-07-25 11:28:52 +02:00
2022-06-21 16:39:42 +02:00