Skip to content

Commit 3cdbcf7

Browse files
HighwayStarTheScarastic
authored andcommitted
drivers: leds: leds-aw2013: fix compilation
1 parent fc86cb0 commit 3cdbcf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/leds-aw2013.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static int aw_2013_check_chipid(struct aw2013_led *led)
385385
u8 val;
386386

387387
aw2013_write(led, AW_REG_RESET, AW_LED_RESET_MASK);
388-
usleep(AW_LED_RESET_DELAY);
388+
udelay(AW_LED_RESET_DELAY);
389389
aw2013_read(led, AW_REG_RESET, &val);
390390
if (val == AW2013_CHIPID)
391391
return 0;

0 commit comments

Comments
 (0)