All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Robert Baldyga <r.baldyga@samsung.com>, balbi@ti.com
Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, mina86@mina86.com,
	m.szyprowski@samsung.com, andrzej.p@samsung.com,
	k.opasiak@samsung.com
Subject: Re: [PATCH v4 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor
Date: Wed, 20 Aug 2014 15:50:44 +0400	[thread overview]
Message-ID: <53F48B94.9090002@cogentembedded.com> (raw)
In-Reply-To: <1408513585-28261-3-git-send-email-r.baldyga@samsung.com>

Hello.

On 8/20/2014 9:46 AM, Robert Baldyga wrote:

> This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which
> returns endpoint descriptor to userspace. It works only if function
> is active.

> Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>

[...]

> diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h
> index 0154b28..900896e 100644
> --- a/include/uapi/linux/usb/functionfs.h
> +++ b/include/uapi/linux/usb/functionfs.h
> @@ -265,6 +265,12 @@ struct usb_functionfs_event {
>    */
>   #define	FUNCTIONFS_ENDPOINT_REVMAP	_IO('g', 129)
>
> +/*
> + * Returns endpoint descriptor. In funciton is not active returns -ENODEV.

    s/funciton/function/.

WBR, Sergei


  reply	other threads:[~2014-08-20 11:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20  5:46 [PATCH v4 0/3] usb: gadget: f_fs: userspace API fixes and improvements Robert Baldyga
2014-08-20  5:46 ` [PATCH v4 1/3] usb: gadget: f_fs: fix the redundant ep files problem Robert Baldyga
2014-08-20  5:46 ` [PATCH v4 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor Robert Baldyga
2014-08-20 11:50   ` Sergei Shtylyov [this message]
2014-08-20  5:46 ` [PATCH v4 3/3] usb: gadget: f_fs: virtual endpoint address mapping Robert Baldyga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53F48B94.9090002@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=andrzej.p@samsung.com \
    --cc=balbi@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=k.opasiak@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mina86@mina86.com \
    --cc=r.baldyga@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.