Re: AW: Problem with serial_throttle in mos7840.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Tuesday 27 January 2009 22:27:01 schrieb Tobias:
> >mos7840_throttle() assumes that it can sleep. Looks like a design bug.
> >Does any body know documentation that clearly states which methods
> >of a serial driver may and which may not?
> 
> Is it possible to use schedule_work() in mos7840_throttle() to set the RTS
> line after the interrupt function is completed?

It is possible but not trivial as you have to make sure the work is executed
before the device is unthrottled.
Greg has indicated that the context in which mos7840_throttle() has
changed in current kernels. Could you test them?

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux