Hi, Hans > The code to select isp_dev->formats[] is overly complicated. We can just use > the "pad" as the index. This will making adding new pads easier in future > patches. No functional change. > > Signed-off-by: Changhuang Liang <changhuang.liang@xxxxxxxxxxxxxxxx> > --- Could you please help to review this patch, thanks for your time. Best regards, Changhuang