diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-08-29 08:32:36 +0200 |
---|---|---|
committer | Bibek BASU <bibek.basu@stericsson.com> | 2011-09-22 12:44:53 +0200 |
commit | e3b4ff6a12147e640f0b6e5811a5822865a6e9b8 (patch) | |
tree | 4cc882277e5c75641fa6f65d1e0cf0118a685638 /drivers | |
parent | 3c2357fb81f2c93d6386a9c9d31e4868a1187436 (diff) |
mfd: ab8500-gpadc: Change to mdelay
The resolution of msleep is related to HZ, so with HZ set to
100 any msleep of less than 10ms will become ~10ms.
ST-Ericsson ID: -
ST-Ericsson Linux next: Not tested
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Change-Id: I3b70c983f332605eea5826ca76bb2a8995de9d3b
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31735
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Tested-by: Bibek BASU <bibek.basu@stericsson.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/ab8500-gpadc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index 4eeac415d84..0794abb86a6 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c @@ -338,7 +338,7 @@ int ab8500_gpadc_read_raw(struct ab8500_gpadc *gpadc, u8 channel) * Delay might be needed for ABB8500 cut 3.0, if not, remove * when hardware will be availible */ - msleep(1); + mdelay(1); break; } /* Intentional fallthrough */ |