android_kernel_xiaomi_sm8350/drivers/ide
Ondrej Zary 07203f6471 [PATCH] ide-floppy: software eject not working with LS-120 drive
The problem (eject not working on ATAPI LS-120 drive) is caused by
idefloppy_ioctl() function which *first* tries generic_ide_ioctl()
and *only* if it fails with -EINVAL, proceeds with the specific ioctls.
The generic eject command fails with something other than -EINVAL
and the specific one is never executed.

This patch fixes it by first going through the internal ioctls
and only trying generic_ide_ioctl() if none of them matches.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2005-11-10 00:25:15 +01:00
..
arm
cris
h8300
legacy [PATCH] ide: incorrect device link for ide-cs 2005-11-09 22:47:18 +01:00
mips Cleaned up AMD Au1200 IDE driver: 2005-10-29 19:32:20 +01:00
pci [PATCH] siimage: enable interrupts on Adaptec SA-1210 card 2005-11-10 00:19:14 +01:00
ppc [PATCH] ppc: Fix PowerBook HD led on ARCH=powerpc 2005-11-08 11:19:51 +11:00
ide-cd.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
ide-cd.h
ide-disk.c [PATCH] ide: kmalloc + memset -> kzalloc conversion 2005-11-07 07:54:00 -08:00
ide-dma.c
ide-floppy.c [PATCH] ide-floppy: software eject not working with LS-120 drive 2005-11-10 00:25:15 +01:00
ide-generic.c
ide-io.c [PATCH] ide: Workaround PM problem 2005-10-10 08:40:47 -07:00
ide-iops.c [PATCH] ide: possible cleanups 2005-11-09 23:07:56 +01:00
ide-lib.c
ide-pnp.c
ide-probe.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
ide-proc.c Cleaned up AMD Au1200 IDE driver: 2005-10-29 19:32:20 +01:00
ide-tape.c [PATCH] ide: kmalloc + memset -> kzalloc conversion 2005-11-07 07:54:00 -08:00
ide-taskfile.c [PATCH] ide: possible cleanups 2005-11-09 23:07:56 +01:00
ide-timing.h [PATCH] janitor: ide: min/max macros in ide-timing.h 2005-09-10 10:06:31 -07:00
ide.c [PATCH] ide: incorrect device link for ide-cs 2005-11-09 22:47:18 +01:00
Kconfig [PATCH] ide: CS5535 driver 2005-11-09 23:58:16 +01:00
Makefile
setup-pci.c