From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932700AbcCJVzW (ORCPT ); Thu, 10 Mar 2016 16:55:22 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33529 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932510AbcCJVzS (ORCPT ); Thu, 10 Mar 2016 16:55:18 -0500 From: Peter Korsgaard To: Joseph CHANG Cc: Peter Korsgaard , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Joseph Chang Subject: Re: [PATCH 1/3] dm9601: enable EP3 interrupt References: <1457609014-3597-1-git-send-email-josright123@gmail.com> Date: Thu, 10 Mar 2016 22:55:14 +0100 In-Reply-To: <1457609014-3597-1-git-send-email-josright123@gmail.com> (Joseph CHANG's message of "Thu, 10 Mar 2016 19:23:34 +0800") Message-ID: <87twkej8vx.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Joseph" == Joseph CHANG writes: > Enable chip's EP3 interrupt to get the link-up notify soon > immediately. Sorry, what do you mean about 'soon immediately'? > + > + /* Always return 8-bytes data to host per interrupt-interval */ > + dm_write_reg(dev, DM_USB_CTRL, USB_CTRL_EP3ACK); Why would we want to do that instead of the current setup that afaik only returns data when the link status changes? -- Bye, Peter Korsgaard