]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mmc/host/tifm_sd.c
tifm_sd: Switch software timeout handler from work_struct to timer
authorAlex Dubov <oakad@yahoo.com>
Fri, 8 Dec 2006 05:50:49 +0000 (16:50 +1100)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 4 Feb 2007 19:54:07 +0000 (20:54 +0100)
commit0803dd0c2594c7dc70c14ab00ea21e68605f5ba1
tree6eb2ddd6a23d7456b00f68bc212fe7b7f37ed4c1
parent255ef22e89ecedcc594428444a72a29cb66153f5
tifm_sd: Switch software timeout handler from work_struct to timer

Two changes are introduced to software timeout handler in order to simplify
its management:
1. The implementation is switched from work_struct to timer
2. Previously, software timeout was rearmed with each interrupt. Now,
current request must complete entirely within timeout interval.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/tifm_sd.c