projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: mediatek: Preinitialize delay_phase in get_best_delay()
[deliverable/linux.git]
/
drivers
/
mmc
/
host
/
mtk-sd.c
diff --git
a/drivers/mmc/host/mtk-sd.c
b/drivers/mmc/host/mtk-sd.c
index 39568cc29a2a18cf752141dcf6233746b4d149e1..33dfd7e72516c3920b7ec641efb930668f0e15f5 100644
(file)
--- a/
drivers/mmc/host/mtk-sd.c
+++ b/
drivers/mmc/host/mtk-sd.c
@@
-1276,7
+1276,7
@@
static struct msdc_delay_phase get_best_delay(struct msdc_host *host, u32 delay)
int start = 0, len = 0;
int start_final = 0, len_final = 0;
u8 final_phase = 0xff;
- struct msdc_delay_phase delay_phase;
+ struct msdc_delay_phase delay_phase
= { 0, }
;
if (delay == 0) {
dev_err(host->dev, "phase error: [map:%x]\n", delay);
This page took
0.035733 seconds
and
5
git commands to generate.