From: Felipe Balbi <balbi@ti.com>
To: "suresh.gupta@freescale.com" <suresh.gupta@freescale.com>
Cc: "balbi@ti.com" <balbi@ti.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] USB : Gadget: fsl: add information message
Date: Fri, 14 Mar 2014 20:39:07 -0500 [thread overview]
Message-ID: <20140315013907.GC31520@saruman.home> (raw)
In-Reply-To: <2b425ae9fdcc4fe8959b4d366070cd0d@BN1PR03MB251.namprd03.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]
On Fri, Mar 14, 2014 at 08:52:49PM +0000, suresh.gupta@freescale.com wrote:
> Hi,
>
> -----Original Message-----
> From: Felipe Balbi [mailto:balbi@ti.com]
> Sent: Thursday, March 13, 2014 8:56 PM
> To: Gupta Suresh-B42813
> Cc: balbi@ti.com; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] USB : Gadget: fsl: add information message
>
> On Thu, Mar 13, 2014 at 06:41:50PM +0530, Suresh Gupta wrote:
> > Message helps to understand that the Freescale Gadget driver
> > is up without any error.
>
> why this tab ?
> [SuresH] I will remove it in next version
>
> >
> > Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
> > ---
> > drivers/usb/gadget/fsl_udc_core.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/usb/gadget/fsl_udc_core.c
> > b/drivers/usb/gadget/fsl_udc_core.c
> > index 9a93727..455d0ab 100644
> > --- a/drivers/usb/gadget/fsl_udc_core.c
> > +++ b/drivers/usb/gadget/fsl_udc_core.c
> > @@ -2503,6 +2503,7 @@ static int __init fsl_udc_probe(struct platform_device *pdev)
> > goto err_del_udc;
> >
> > create_proc_file();
> > + pr_info("%s (%s)\n", driver_desc, DRIVER_VERSION);
>
> if there are no messages, then it's up. Also, you can very easily check lsmod.
>
> sorry, but I'm not taking this.
> [SuresH] The legacy driver shows this message when module_init was
> used. To make same upbringing for customer, I added the same message
> after probe get completed. This message will not make any difference
> but will satisfies customer need.
#!/bin/sh
lsmod | grep fsl_usb2_udc
if [ $? -eq 0 ]; then
echo "Yeah, USB driver is loaded"
else
echo "Bad! Bad driver"
fi
Still not taking your patch
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-03-15 1:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-13 13:11 Suresh Gupta
2014-03-13 15:26 ` Felipe Balbi
2014-03-14 20:52 ` suresh.gupta
2014-03-15 1:39 ` Felipe Balbi [this message]
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=20140315013907.GC31520@saruman.home \
--to=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=suresh.gupta@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®