forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/staging/comedi/drivers/daqboard2000.c
....@@ -18,7 +18,7 @@
1818 * the source code for the Windows driver.
1919 *
2020 * The FPGA on the board requires firmware, which is available from
21
- * http://www.comedi.org in the comedi_nonfree_firmware tarball.
21
+ * https://www.comedi.org in the comedi_nonfree_firmware tarball.
2222 *
2323 * Configuration options: not applicable, uses PCI auto config
2424 */
....@@ -665,11 +665,6 @@
665665 db2k_initialize_tmrs(dev);
666666 }
667667
668
-static void db2k_initialize_dac(struct comedi_device *dev)
669
-{
670
- db2k_dac_disarm(dev);
671
-}
672
-
673668 static int db2k_8255_cb(struct comedi_device *dev, int dir, int port, int data,
674669 unsigned long iobase)
675670 {
....@@ -719,7 +714,7 @@
719714 return result;
720715
721716 db2k_initialize_adc(dev);
722
- db2k_initialize_dac(dev);
717
+ db2k_dac_disarm(dev);
723718
724719 s = &dev->subdevices[0];
725720 /* ai subdevice */
....@@ -786,7 +781,7 @@
786781 };
787782 module_comedi_pci_driver(db2k_driver, db2k_pci_driver);
788783
789
-MODULE_AUTHOR("Comedi http://www.comedi.org");
784
+MODULE_AUTHOR("Comedi https://www.comedi.org");
790785 MODULE_DESCRIPTION("Comedi low-level driver");
791786 MODULE_LICENSE("GPL");
792787 MODULE_FIRMWARE(DB2K_FIRMWARE);