Skip to content

Commit b7d4a18

Browse files
committed
drivers: video: stm32_dcmipp: Fix a typo on driver instance name
The driver instance variable name is inst, not n. Signed-off-by: Phi Bang Nguyen <[email protected]>
1 parent 965bcd6 commit b7d4a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/video_stm32_dcmipp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@ static void stm32_dcmipp_isr(const struct device *dev)
16611661
vsync_active, 0) ? \
16621662
DCMIPP_VSPOLARITY_HIGH : \
16631663
DCMIPP_VSPOLARITY_LOW, \
1664-
.parallel.hs_polarity = DT_PROP_OR(DT_INST_ENDPOINT_BY_ID(n, 0, 0), \
1664+
.parallel.hs_polarity = DT_PROP_OR(DT_INST_ENDPOINT_BY_ID(inst, 0, 0), \
16651665
hsync_active, 0) ? \
16661666
DCMIPP_HSPOLARITY_HIGH : \
16671667
DCMIPP_HSPOLARITY_LOW, \

0 commit comments

Comments
 (0)