Re: [PATCH v1] media: synopsys: hdmirx: Detect broken interrupt
From: Dmitry Osipenko
Date: Thu Oct 02 2025 - 09:36:47 EST
Hi,
On 10/2/25 16:18, Sebastian Reichel wrote:
>> + *val = status & PHYCREG_CR_PARA_RD_DATA_MASK;
>> +
>> + return 0;
>> +}
> Do you expect this to be used in other places in the driver? In that
> case there should probably be some locking, since the hardware interface
> obviously cannot handle concurrency. Otherwise maybe add a comment,
> that the function may not be called if concurrency is possible?
Don't expect this function to be used in other places and haven't added
locking on purpose to keep the code cleaner. Will add the comment.
Thanks for all suggestions.
--
Best regards,
Dmitry