On Sat, 16 Mar 2024 at 18:05, Sui Jingfeng <[email protected]> wrote: > > If a specific design doesn't wire IT66121's interrupt signal output pin up > to the display controller side, then we should not register the interrupt > handler. Such a decision is valid usage, as we can fall back to polling > mode. So, don't make the assumption that a specific board always supports > HPD. Carry out a sanity check on 'client->irq' before using it, fall back > to polling mode if client->irq < 0 is true. Such a design increases the > overall flexibility. > > Signed-off-by: Sui Jingfeng <[email protected]> > --- > drivers/gpu/drm/bridge/ite-it66121.c | 19 ++++++++++++------- > 1 file changed, 12 insertions(+), 7 deletions(-)
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
