projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a1b27a
)
mmc: dw_mmc: remove unnecessary function.
author
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 3 Mar 2014 02:36:45 +0000
(11:36 +0900)
committer
Chris Ball
<chris@printf.net>
Mon, 12 May 2014 22:04:34 +0000
(18:04 -0400)
Remove unnecessary function. This function didn't re-use anywhere.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/dw_mmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/dw_mmc.c
b/drivers/mmc/host/dw_mmc.c
index 7020e14717a4c0150082fe88c5355f36a8c7a84e..9ef7c4ebed239482e791556d635adf37da5fa790 100644
(file)
--- a/
drivers/mmc/host/dw_mmc.c
+++ b/
drivers/mmc/host/dw_mmc.c
@@
-235,12
+235,6
@@
err:
}
#endif /* defined(CONFIG_DEBUG_FS) */
-static void dw_mci_set_timeout(struct dw_mci *host)
-{
- /* timeout (maximum) */
- mci_writel(host, TMOUT, 0xffffffff);
-}
-
static u32 dw_mci_prepare_command(struct mmc_host *mmc, struct mmc_command *cmd)
{
struct mmc_data *data;
@@
-861,7
+855,7
@@
static void __dw_mci_start_request(struct dw_mci *host,
data = cmd->data;
if (data) {
-
dw_mci_set_timeout(host
);
+
mci_writel(host, TMOUT, 0xFFFFFFFF
);
mci_writel(host, BYTCNT, data->blksz*data->blocks);
mci_writel(host, BLKSIZ, data->blksz);
}
This page took
0.025901 seconds
and
5
git commands to generate.