Re: [PATCH v2] misc: rtsx: usb card reader: add OCP support
From: Greg KH
Date: Tue Aug 12 2025 - 02:33:58 EST
On Tue, Aug 12, 2025 at 11:08:11AM +0800, Ricky Wu wrote:
> This patch adds support for Over Current Protection (OCP) to the Realtek
> USB card reader driver.
>
> The OCP mechanism protects the hardware by detecting and handling current
> overload conditions.
> This implementation includes:
>
> - Register configurations to enable OCP monitoring.
> - Handling of OCP interrupt events and associated error reporting.
> - Card power management changes in response to OCP triggers.
>
> This enhancement improves the robustness of the driver when operating in
> environments where electrical anomalies may occur, particularly with SD
> and MS card interfaces.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
the kernel test robot did NOT report that this driver was lacking this
new feature :(