diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2015-01-30 12:17:22 -0700 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-03-09 16:40:51 +0100 |
commit | 9f067d8709639ea23ae6538d800c0822ed6e707f (patch) | |
tree | 63f8e36042a1072ec04ad20932046be9e7852a9a | |
parent | b834693da2c1bfcb908e6e4e6a7535d6ba2e56a3 (diff) |
ASoC: sgtl5000: add delay before first I2C access
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
(cherry picked from commit df3d987038f53c8a76f28b3e6b374d0cc7941fed)
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 65544af8909f..1ecf612b6e2f 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -1494,7 +1494,7 @@ static int sgtl5000_i2c_probe(struct i2c_client *client, if (ret) return ret; - udelay(1,2); /* Data sheet says minimum 1uS delay after SYS_MCLK */ + usleep_range(1,2); /* Data sheet says minimum 1uS delay after SYS_MCLK */ /* read chip information */ ret = sgtl5000_read16(client, SGTL5000_CHIP_ID, ®); |