projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: Remove distinction between hw and phys segments
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
mmc
/
host
/
wbsd.c
diff --git
a/drivers/mmc/host/wbsd.c
b/drivers/mmc/host/wbsd.c
index 0012f5d13d28715c0ecd4404e28a8f9502e3a085..7fca0a386ba052bf398bad4462c66d5f673c02a9 100644
(file)
--- a/
drivers/mmc/host/wbsd.c
+++ b/
drivers/mmc/host/wbsd.c
@@
-1235,8
+1235,7
@@
static int __devinit wbsd_alloc_mmc(struct device *dev)
* Maximum number of segments. Worst case is one sector per segment
* so this will be 64kB/512.
*/
- mmc->max_hw_segs = 128;
- mmc->max_phys_segs = 128;
+ mmc->max_segs = 128;
/*
* Maximum request size. Also limited by 64KiB buffer.