android_kernel_xiaomi_sm8350/drivers/parport
Sudip Mukherjee 50566ac870 parport: check exclusive access before register
As of now we were starting the registration process and after the device
is registered we were checking if the device can be used by the
parport. Now lets check it first so that we do not need to go through
the registration process only to fail at the end.
The original exclusive access check at the end is still there so that we
do not get any surprises if two different process registers its device
with same parport and with exclusive access at the same time.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-12 16:58:33 -07:00
..
BUGS-parport
daisy.c
ieee1284_ops.c
ieee1284.c
Kconfig
Makefile
multiface.h
parport_amiga.c parport: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02:00
parport_atari.c parport: parport_atari: Remove obsolete IRQ_TYPE_SLOW 2015-01-15 13:44:50 +01:00
parport_ax88796.c parport: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02:00
parport_cs.c
parport_gsc.c
parport_gsc.h
parport_ip32.c
parport_mfc3.c
parport_pc.c parport: add device-model to parport subsystem 2015-06-01 07:08:18 +09:00
parport_serial.c parport: Add support for the WCH382 2S/1P multi-IO card 2014-11-06 14:58:21 -08:00
parport_sunbpp.c parport: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02:00
probe.c
procfs.c parport: add device-model to parport subsystem 2015-06-01 07:08:18 +09:00
share.c parport: check exclusive access before register 2015-06-12 16:58:33 -07:00
TODO-parport