Re: [PATCH 3/9] USB:s3c-hsotg: NAK management for EP0 (Setup stage of control transfers)

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

 



Hi,

On Fri, Feb 10, 2012 at 10:12:21AM +0100, Lukasz Majewski wrote:
> @@ -1557,6 +1568,13 @@ static void s3c_hsotg_handle_outdone(struct s3c_hsotg *hsotg,
>  	if (req->actual < req->length && size_left == 0) {
>  		s3c_hsotg_start_req(hsotg, hs_ep, hs_req, true);
>  		return;
> +	} else {
> +		if (epnum == 0) {
> +			/* OBS!  */
> +			/* After was_setup = 1 => */
> +			/*   the CNAK for non Setup requests */

fix multiline comment style.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux