kernel/drivers/staging/comedi/drivers/usbduxfast.c
.. .. @@ -62,7 +62,7 @@ 62 62 #define USBDUXFASTSUB_CPUCS 0xE600 63 63 64 64 /* 65 - * max lenghth of the transfer-buffer for software upload65 + * max length of the transfer-buffer for software upload66 66 */ 67 67 #define TB_LEN 0x2000 68 68 .. .. @@ -1000,6 +1000,8 @@ 1000 1000 kfree(devpriv->duxbuf); 1001 1001 1002 1002 mutex_unlock(&devpriv->mut); 1003 +1004 + mutex_destroy(&devpriv->mut);1003 1005 } 1004 1006 1005 1007 static struct comedi_driver usbduxfast_driver = {