On 22.05.24 16:08, Parthiban Veerasooran wrote: Hi, however you solve this, the descriptors are stored in wire order.
+ if (dev->udev->descriptor.idVendor == 0x184F && + dev->udev->descriptor.idProduct == 0x0051) + write_buf |= LED_GPIO_CFG_LED_SEL;
This needs to be if (dev->udev->descriptor.idVendor == cpu_to_le16(0x184F) && dev->udev->descriptor.idProduct == cpu_to_le16(0x0051)) HTH Oliver