Re: [PATCH] hwmon: corsair-psu: add USB id of the new HX1500i psu

From: Guenter Roeck
Date: Fri Oct 14 2022 - 12:50:27 EST


On Sat, Oct 08, 2022 at 11:35:34AM +0000, Wilken Gottwalt wrote:
> Also updates the documentation accordingly.
>
> Signed-off-by: Wilken Gottwalt <wilken.gottwalt@xxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter

> ---
> Documentation/hwmon/corsair-psu.rst | 2 ++
> drivers/hwmon/corsair-psu.c | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/Documentation/hwmon/corsair-psu.rst b/Documentation/hwmon/corsair-psu.rst
> index 3c1b164eb3c0..6a03edb551a8 100644
> --- a/Documentation/hwmon/corsair-psu.rst
> +++ b/Documentation/hwmon/corsair-psu.rst
> @@ -19,6 +19,8 @@ Supported devices:
>
> Corsair HX1200i
>
> + Corsair HX1500i
> +
> Corsair RM550i
>
> Corsair RM650i
> diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c
> index c1c27e475f6d..2210aa62e3d0 100644
> --- a/drivers/hwmon/corsair-psu.c
> +++ b/drivers/hwmon/corsair-psu.c
> @@ -821,6 +821,7 @@ static const struct hid_device_id corsairpsu_idtable[] = {
> { HID_USB_DEVICE(0x1b1c, 0x1c0c) }, /* Corsair RM850i */
> { HID_USB_DEVICE(0x1b1c, 0x1c0d) }, /* Corsair RM1000i */
> { HID_USB_DEVICE(0x1b1c, 0x1c1e) }, /* Corsair HX1000i revision 2 */
> + { HID_USB_DEVICE(0x1b1c, 0x1c1f) }, /* Corsair HX1500i */
> { },
> };
> MODULE_DEVICE_TABLE(hid, corsairpsu_idtable);