summaryrefslogtreecommitdiff
path: root/drivers/char/ds1620.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-11-13 00:22:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-12 13:41:10 +0300
commitbf5202b58f61e8fe2dba5ec8cf5720225b1b9e4c (patch)
tree6637ea724f7b3549cd5839b7511e9d7763568030 /drivers/char/ds1620.c
parent37feaf8095d352014555b82adb4a04609ca17d3f (diff)
downloadlinux-bf5202b58f61e8fe2dba5ec8cf5720225b1b9e4c.tar.xz
ppdev: check before attaching port
commit dd5c472a60e43549d789a17a8444513eec64bd7e upstream. After parport starts using the device model, all pardevice drivers should decide in their match_port callback function if they want to attach with that particulatr port. ppdev has been converted to use the new parport device-model code but pp_attach() tried to attach with all the ports. Create a new array of pointer and use that to remember the ports we have attached. And use that information to skip attaching ports which we have already attached. Tested-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/ds1620.c')
0 files changed, 0 insertions, 0 deletions