Skip to contentSkip to conversation

sound/usX2Yhwdep: change parameters of usb_{control,bulk}_msg() to msecs

PATCH New Nishanth Aravamudan 1 participant 1 message Feb 9, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 56/63 sound/usX2Yhwdep: change parameters of usb_{control,bulk}_msg() to msecs

Hi,

Description: Change units of parameters being passed to usb_{control,bulk}_msg() to milliseconds. Patch is compile-tested.

sound/usb/usx2y/usX2Yhwdep.c +1 -1
@@ -226,7 +226,7 @@ static int snd_usX2Y_hwdep_dsp_load(snd_
 		if (err)
 			snd_printk("usb_set_interface error \n");
 		else
-			err = usb_bulk_msg(dev, usb_sndbulkpipe(dev, 2), buf, dsp->length, &lret, 6*HZ);
+			err = usb_bulk_msg(dev, usb_sndbulkpipe(dev, 2), buf, dsp->length, &lret, 6000);
 		kfree(buf);
 	}
 	if (err)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click