From patchwork Tue Jun 21 06:09:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 899842 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5L69M84011492 for ; Tue, 21 Jun 2011 06:09:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317Ab1FUGJW (ORCPT ); Tue, 21 Jun 2011 02:09:22 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:45263 "EHLO relmlor1.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750974Ab1FUGJV (ORCPT ); Tue, 21 Jun 2011 02:09:21 -0400 Received: from relmlir4.idc.renesas.com ([10.200.68.154]) by relmlor1.idc.renesas.com ( SJSMS) with ESMTP id <0LN400F70MFKZO80@relmlor1.idc.renesas.com> for linux-sh@vger.kernel.org; Tue, 21 Jun 2011 15:09:20 +0900 (JST) Received: from relmlac2.idc.renesas.com ([10.200.69.22]) by relmlir4.idc.renesas.com ( SJSMS) with ESMTP id <0LN4007ACMFKZBE0@relmlir4.idc.renesas.com> for linux-sh@vger.kernel.org; Tue, 21 Jun 2011 15:09:20 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 565E228070; Tue, 21 Jun 2011 15:09:20 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 3874678002; Tue, 21 Jun 2011 15:09:20 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id RAC00307; Tue, 21 Jun 2011 15:09:20 +0900 Date: Tue, 21 Jun 2011 15:09:19 +0900 X-IronPort-AV: E=Sophos; i="4.65,399,1304262000"; d="scan'208"; a="32982809" Received: from unknown (HELO PG10870.renesas.com) ([172.30.8.159]) by relmlii1.idc.renesas.com with ESMTP; Tue, 21 Jun 2011 15:09:19 +0900 Message-id: From: Kuninori Morimoto To: Greg KH Cc: Linux-SH Subject: [PATCH] usb: renesas_usbhs: use dma handler User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-2022-JP-2?B?U2Fuag==?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.6 Emacs/23.2 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO) MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Jun 2011 06:09:22 +0000 (UTC) Signed-off-by: Kuninori Morimoto --- drivers/usb/renesas_usbhs/mod_gadget.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c index ce35319..da76634 100644 --- a/drivers/usb/renesas_usbhs/mod_gadget.c +++ b/drivers/usb/renesas_usbhs/mod_gadget.c @@ -485,9 +485,9 @@ static int usbhsg_ep_enable(struct usb_ep *ep, pipe->mod_private = uep; if (usb_endpoint_dir_in(desc)) - uep->handler = &usbhs_fifo_pio_push_handler; + uep->handler = &usbhs_fifo_dma_push_handler; else - uep->handler = &usbhs_fifo_pio_pop_handler; + uep->handler = &usbhs_fifo_dma_pop_handler; ret = 0; }