]> asedeno.scripts.mit.edu Git - linux.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)
commit800f35d773b038677fc7d6d0b2fc34a31005dd23
tree2d3666a78f2b8b64f48e12b62b6c5022621d781c
parent8ec04a491825e08068e92bed0bba7821893b6433
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