[alsa-devel] [PATCH 00/14] parport: check success of attach call
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Wed Apr 8 13:20:26 CEST 2015
Currently we are not checking if attach has succeeded or not. Also
parport_register_driver() always return 0 even if attach fails.
But in many places where attach has been used, it can fail.
So, modified the parport code to check the return value of attach and
accordingly return either 0 or error code from parport_register_driver.
Sudip Mukherjee (14):
parport: return value of attach and parport_register_driver
ALSA: portman2x4: return proper error values from attach
ALSA: mts64: return proper error values from attach
staging: panel: return proper error values from attach
spi: lm70llp: return proper error values from attach
spi: butterfly: return proper error values from attach
[SCSI] ppa: return proper error values from attach
[SCSI] imm: return proper error values from attach
pps: return proper error values from attach
pps: return proper error values from attach
net: plip: return proper error values from attach
i2c-parport: return proper error values from attach
ppdev: return proper error values from attach
char: lp: return proper error values from attach
drivers/char/lp.c | 16 +++++++++++-----
drivers/char/ppdev.c | 10 +++++++---
drivers/i2c/busses/i2c-parport.c | 7 ++++---
drivers/net/plip/plip.c | 16 ++++++++++------
drivers/parport/share.c | 20 +++++++++++++++-----
drivers/pps/clients/pps_parport.c | 7 ++++---
drivers/pps/generators/pps_gen_parport.c | 9 +++++----
drivers/scsi/imm.c | 4 ++--
drivers/scsi/ppa.c | 4 ++--
drivers/spi/spi-butterfly.c | 7 ++++---
drivers/spi/spi-lm70llp.c | 7 ++++---
drivers/staging/panel/panel.c | 11 ++++++-----
include/linux/parport.h | 2 +-
sound/drivers/mts64.c | 13 ++++++++-----
sound/drivers/portman2x4.c | 15 ++++++++++-----
15 files changed, 93 insertions(+), 55 deletions(-)
--
1.8.1.2
More information about the Alsa-devel
mailing list