RE: [PATCH v5 char-misc-next] misc: microchip: pci1xxxx: Add OTP/EEPROM driver for the pci1xxxx switch

From: Tharunkumar.Pasumarthi
Date: Sun Feb 12 2023 - 02:52:37 EST


> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Sent: Sunday, February 12, 2023 12:39 PM
> To: Tharunkumar Pasumarthi - I67821
> <Tharunkumar.Pasumarthi@xxxxxxxxxxxxx>
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> Again, you can not sit and spin in a busy-wait like this with no chance to
> recover if something goes wrong with the hardware (hint, what if it got
> removed?)
>
> please fix.

Okay Greg. I will add timeout logic in driver to break out of busy-wait loop to handle cases like these.

Thanks,
Tharun Kumar P