14 Feb, 2012
1 commit
-
Ensure clocks are always enabled before any interaction with the
host controller driver. This makes sure that there is no race
between host execution and the core layer turning off clocks
in different context with clock gating framework.Signed-off-by: Sujit Reddy Thumma
Acked-by: Linus Walleij
Acked-by: Per Forlin
Signed-off-by: Chris Ball
01 Nov, 2011
1 commit
-
These two basic defines were everywhere, simply because module.h
was also everywhere. But we are cleaning up the latter. So make
the exporters actually call out their need for the include.Signed-off-by: Paul Gortmaker
27 Oct, 2011
1 commit
-
All the files using printk function for displaying kernel messages
in the mmc driver have been replaced with corresponding macro.Signed-off-by: Girish K S
Signed-off-by: Chris Ball
25 May, 2011
1 commit
-
If there is only 1 function interrupt registered it is possible to
improve performance by directly calling the irq handler and avoiding
the overhead of reading the CCCR registers.Signed-off-by: Per Forlin
Acked-by: Ulf Hansson
Reviewed-by: Nicolas Pitre
Signed-off-by: Chris Ball
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
12 Oct, 2008
2 commits
-
There is one thread per host controller so make sure they all get
unique names.Signed-off-by: Pierre Ossman
-
Make sure we can be woken from the forced sleep that is done on errors.
Removing a card often results in -ENOMEDIUM or -EILSEQ so we previously
locked up the removal process for a second.We could completely exit on -ENOMEDIUM, but it might be a transient
glitch so treat it like any other error.Signed-off-by: Pierre Ossman
19 Apr, 2008
1 commit
-
Signed-off-by: Robert P. J. Day
Signed-off-by: Andrew Morton
Signed-off-by: Pierre Ossman
06 Oct, 2007
2 commits
-
Currently we print a message about some bad states wrt function IRQ
handlers but return 0 from process_sdio_pending_irqs() nevertheless.
This can lead to an infinite loop as nothing might have cleared the
condition for the pending card interrupt from the host controller by
the time host->ops->enable_sdio_irq(host, 1) is called.Signed-off-by: Nicolas Pitre
Signed-off-by: Pierre Ossman -
If func is actually null we won't get much from sdio_func_id(func).
Signed-off-by: Nicolas Pitre
Signed-off-by: Pierre Ossman
27 Sep, 2007
1 commit
-
The interrupt polling frequency is a compromise between power usage and
interrupt latency. Unfortunately, it affects throughput rather severely
for devices which require an interrupt for every chunk of data.By making the polling frequency adaptive, we get better throughput with
those devices without sacficing too much power. Polling will quickly
increase when there is an actual interrupt, and slowly fall back to the
idle frequency when the interrupts stop coming.Signed-off-by: Pierre Ossman
24 Sep, 2007
3 commits
-
Replace all cases of BUG_ON with WARN_ON where there is a chance
(with varying degrees of slim) that the kernel can continue without
incidence.Signed-off-by: Pierre Ossman
-
Signed-off-by: Nicolas Pitre
Signed-off-by: Pierre Ossman -
Signed-off-by: Nicolas Pitre
Signed-off-by: Pierre Ossman