]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: jr3_pci: Reset all DSPs
authorIan Abbott <abbotti@mev.co.uk>
Fri, 17 Feb 2017 11:09:10 +0000 (11:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:16:58 +0000 (09:16 +0100)
commit7986d16ae6080432133ab250260fc18aa842aab1
tree2d3666a78f2b8b64f48e12b62b6c5022621d781c
parent89a95318915cd154992ff9607bf4789de255cae0
staging: comedi: jr3_pci: Reset all DSPs

The various JR3 PCI models have from 1 to 4 DSPs, one per subdevice.
Prior to loading the firmware to all the DSPs, the initialization code
in `jr3_pci_auto_attach()` resets the first DSP.  As far as I can tell,
it should reset all of them.  Change it to do so.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/jr3_pci.c