[PATCH] mmc: jz4740: Use clk_prepare_enable/clk_disable_unprepare

2013-05-12 Thread Lars-Peter Clausen
In preparation to switching the jz4740 clk driver to the common clk framework update the clk enable/disable calls to clk_prepare_enable/clk_disable_unprepare. Signed-off-by: Lars-Peter Clausen --- drivers/mmc/host/jz4740_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 19/22] mmc: sdhci-spear: remove unnecessary platform_set_drvdata()

2013-05-12 Thread Viresh Kumar
On Mon, May 6, 2013 at 12:07 PM, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to manually

[PATCH] drivers: mmc: host: use devm_ioremap_resource()

2013-05-12 Thread Laurent Navet
eplace a call to deprecated devm_request_and_ioremap by devm_ioremap_resource. Found with coccicheck and this semantic patch: scripts/coccinelle/api/devm_ioremap_resource.cocci Signed-off-by: Laurent Navet --- drivers/mmc/host/mvsdio.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH/RESEND v6 3/3] block: Adding ROW scheduling algorithm

2013-05-12 Thread Tanya Brokhman
This patch adds the implementation of a new scheduling algorithm - ROW. The policy of this algorithm is to prioritize READ requests over WRITE as much as possible without starving the WRITE requests. The requests are kept in queues according to their priority. The dispatch is done in a Round Robin

[PATCH v6 2/3] block: Add API for urgent request handling

2013-05-12 Thread Tanya Brokhman
This patch add support in block & elevator layers for handling urgent requests. The decision if a request is urgent or not is taken by the scheduler. Request is marked as urgent in cmd_flags (by the scheduler) with a new flag - REQ_URGENT. Urgent request notification is passed to the underlying blo

[PATCH v6 1/3] block: Add support for reinsert a dispatched req

2013-05-12 Thread Tanya Brokhman
Add support for reinserting a dispatched request back to the scheduler's internal data structures. This capability is used by the device driver when it chooses to interrupt the current request transmission and execute another (more urgent) pending request. For example: interrupting long write in or

[PATCH v6 0/3] block: Adding ROW scheduling algorithm

2013-05-12 Thread Tanya Brokhman
In order to decrease the latency of a prioritized request (such as READ requests) the device driver might decide to stop the transmission of a current "low priority" request in order to handle the "high priority" one. The urgency of the request is decided by the block layer I/O scheduler. When the