android_kernel_xiaomi_sm8350/drivers
Kiyoshi Ueda aaa04c28cb blk_end_request: changing ide-cd (take 4)
This patch converts ide-cd (cdrom_newpc_intr()) to use blk_end_request
interfaces.  Related 'uptodate' arguments are converted to 'error'.

In PIO mode, ide-cd (cdrom_newpc_intr()) needs to defer
end_that_request_last() until the device clears DRQ_STAT and raises
an interrupt after end_that_request_first().
So blk_end_request() has to return without completing request
even if no leftover in the request.

ide-cd uses blk_end_request_callback() and a dummy callback function,
which just returns value '1', to tell blk_end_request_callback()
about that.

Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-01-28 10:37:06 +01:00
..
acorn/char
acpi
amba
ata Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-01-25 17:19:08 -08:00
atm
auxdisplay
base Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-01-25 17:19:08 -08:00
block blk_end_request: changing cpqarray (take 4) 2008-01-28 10:37:00 +01:00
bluetooth
cdrom blk_end_request: changing viocd (take 4) 2008-01-28 10:36:48 +01:00
char
clocksource
connector
cpufreq
cpuidle
crypto [S390] crypto: move s390 Kconfig options. 2008-01-26 14:11:17 +01:00
dca
dio
dma
edac
eisa
firewire
firmware
hid
hwmon
i2c i2c-bfin-twi: Register adapter with a specific bus number 2008-01-27 18:14:52 +01:00
ide blk_end_request: changing ide-cd (take 4) 2008-01-28 10:37:06 +01:00
ieee1394 Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-01-25 17:19:08 -08:00
infiniband Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-01-25 17:19:08 -08:00
input
isdn
kvm
leds
lguest
macintosh i2c: Kill rogue driver IDs 2008-01-27 18:14:47 +01:00
mca
md
media i2c: Drivers stop using the redundant client list 2008-01-27 18:14:51 +01:00
message blk_end_request: changing i2o_block (take 4) 2008-01-28 10:36:50 +01:00
mfd
misc
mmc blk_end_request: changing mmc (take 4) 2008-01-28 10:36:52 +01:00
mtd
net mlx4_core: Fix max_eqs masking in QUERY_DEV_CAP 2008-01-25 14:15:29 -08:00
nubus
of
oprofile
parisc
parport
pci
pcmcia
pnp
power
ps3
rapidio
rtc i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
s390 blk_end_request: changing s390 (take 4) 2008-01-28 10:36:54 +01:00
sbus
scsi blk_end_request: changing ide-scsi (take 4) 2008-01-28 10:36:56 +01:00
serial
sh
sn
spi
ssb
tc
telephony
uio
usb i2c/tps65010: move header to <linux/i2c/...> 2008-01-27 18:14:49 +01:00
video Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 2008-01-28 08:15:24 +11:00
virtio
w1 i2c: normal_i2c can be made const (remaining drivers) 2008-01-27 18:14:47 +01:00
watchdog
xen
zorro
Kconfig
Makefile