[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <da4ed386-505f-459a-91f0-292b77cfb74f@gmail.com>
Date: Tue, 25 Nov 2025 11:53:42 +0300
From: Sergey Shtylyov <sergei.shtylyov@...il.com>
To: Duoming Zhou <duoming@....edu.cn>, linux-usb@...r.kernel.org
Cc: gregkh@...uxfoundation.org, heikki.krogerus@...ux.intel.com,
mitltlatltl@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: typec: ucsi: fix probe failure in
gaokun_ucsi_probe()
On 11/25/25 11:25 AM, Duoming Zhou wrote:
> The gaokun_ucsi_probe() uses ucsi_create() to allocate a UCSI instance.
> The ucsi_create() validates whether ops->poll_cci is defined, and if not,
> it directly returns -EINVAL. However, the gaokun_ucsi_ops structure dose
s/dose/does/.
> not define the poll_cci, causing ucsi_create() always fail with -EINVAL.
> This issue can be observed in the kernel log with the following error:
>
> ucsi_huawei_gaokun.ucsi huawei_gaokun_ec.ucsi.0: probe with driver
> ucsi_huawei_gaokun.ucsi failed with error -22
>
> Fix the issue by adding the missing poll_cci callback to gaokun_ucsi_ops.
>
> Fixes: 00327d7f2c8c ("usb: typec: ucsi: add Huawei Matebook E Go ucsi driver")
> Signed-off-by: Duoming Zhou <duoming@....edu.cn>
[...]
MBR, Sergey
Powered by blists - more mailing lists