Received: by 10.213.65.68 with SMTP id h4csp22223imn; Thu, 15 Mar 2018 15:15:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELvFBq60C34pDfFjAcAPS/jYxQXeqZbSEOr97pWGNiQ6Nl37/B9kzRV5j09csydJv/8qcZdZ X-Received: by 10.101.97.139 with SMTP id c11mr8049892pgv.447.1521152146748; Thu, 15 Mar 2018 15:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521152146; cv=none; d=google.com; s=arc-20160816; b=dAmsmjBIL8kvBnXT3LXURpnOZWJ1ptvXRNsptQXJ1M0uzpZJf0Y2Sgb8nzm5fkn+Ri 1N5Gxoi14ztlUvepdZY/sok+4PcVePQZCebPc1ph8sNEiTWHq1QWM8fj4a2IxfzXdL2y qN52vdWF2AJ3w9XJsCpV1i0ahFyl85+06ysQUvThYdALUt4xCeuEntXlA54nMijsNfyF UeXUfH9uq/8XTIqPwpA3bZHQOSIkIk5NB98tMgj/2z/6Vh03neZHIQ0RrrEpy2lkOpKo SYaJDpyuVlalLCFL3HkGxbbM9PVCpaiDOngPWhdNcXN1Xaj66iJeRoJhQy+cDd3+Qbgr YNPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature:arc-authentication-results; bh=i0R/HhSawsadDUr9DeT0ymGqySx6bpOljfsd2t30eCo=; b=M8cMM4CRDs4DwlGOSoFLpZeuZ3Uu4TItzwM6CaRFki9MfvyNnpVMl7ag+xJbCvs2m3 hBoNhexCVJjej6PGXy44tQyppwa2e98qJyO48fs0SopSRXuqkuBugo+dC82+dUyUPg7q 0FtpJlqcM9HEYAS5gSb1JrXfG5bCV+DaMeYG70B9BsAefWFN8dF8P4J2n1wninDc1B8X kS6g4834d6ygBRl6vKmp8ILL8phs9GsDs2VIvi3x2ahkog97wx4vFXvJeNVjlbPV72fP Rvk2kxbvMeqSQ6Fm0GCxMsEpQHoNSlbmRcE+iRYxRbKI6rKPHJdoL0nwuCye4aGjeT1G ONdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=sxIFOhNn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si3948321pgq.332.2018.03.15.15.15.28; Thu, 15 Mar 2018 15:15:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=sxIFOhNn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752457AbeCOWOa (ORCPT + 99 others); Thu, 15 Mar 2018 18:14:30 -0400 Received: from ozlabs.org ([103.22.144.67]:34649 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751466AbeCOWO3 (ORCPT ); Thu, 15 Mar 2018 18:14:29 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 402NDL1b7sz9sTm; Fri, 16 Mar 2018 09:14:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1521152066; bh=1oVoeqtro3tlpyoglT+1VoEBy/VkxVkmEHemIt2ni8w=; h=Date:From:To:Cc:Subject:From; b=sxIFOhNngM/8afCPWVDRxmSlxgaCDkVBHLs8a2vHdDDYS1QsbbaFwhlRxiyu9Wgh6 ndBjR4prgNz2S6UNO9MxSQLhCIFUCmDGhNDNj7naV4YiMOh+fbyeOJEziN56EuqIsA zdhLP5k1mWG0NotdKx3OawWhgqCCsEavTCg0M/g9HQWRBiQ38bENhHP/RxXE8aopqw kPCalcbRM1CtZ9mEdmvfO8M3Xo38Y7F6gnAiIpmLTI54uAx+w/j2yQMleB2H+xp4pz DXpWoO+Xp6wztxBF6bmyeFmZ3eXFXzfRymoVvYhbdHpsrNPh2BvceUHYyrco1rU+ky x0VCGRdgrq2oQ== Date: Fri, 16 Mar 2018 09:13:55 +1100 From: Stephen Rothwell To: Arnd Bergmann Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Greg Kroah-Hartman , Aaron Wu , Bin Liu Subject: linux-next: build failure after merge of the asm-generic tree Message-ID: <20180316091355.2d2b7b04@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/umKnlmX/lxALQopnVGFj6me"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/umKnlmX/lxALQopnVGFj6me Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Arnd, After merging the asm-generic tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/usb/musb/musb_host.c: In function 'musb_rx_reinit': drivers/usb/musb/musb_host.c:577:10: error: 'struct musb' has no member nam= ed 'double_buffer_not_ok' if (musb->double_buffer_not_ok) ^~ drivers/usb/musb/musb_host.c: In function 'musb_ep_program': drivers/usb/musb/musb_host.c:807:12: error: 'struct musb' has no member nam= ed 'double_buffer_not_ok' if (musb->double_buffer_not_ok) { ^~ Caused by commit 8312c0cad792 ("usb: musb: remove blackfin port") I have applied the following patch for today: From: Stephen Rothwell Date: Fri, 16 Mar 2018 08:58:41 +1100 Subject: [PATCH] usb: musb: more blackfin removal Signed-off-by: Stephen Rothwell --- drivers/usb/musb/musb_gadget.c | 21 +++++++-------------- drivers/usb/musb/musb_host.c | 12 +++--------- 2 files changed, 10 insertions(+), 23 deletions(-) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 58a41b54763b..e564695c6c8d 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -995,15 +995,11 @@ static int musb_gadget_enable(struct usb_ep *ep, /* Set TXMAXP with the FIFO size of the endpoint * to disable double buffering mode. */ - if (musb->double_buffer_not_ok) { - musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx); - } else { - if (can_bulk_split(musb, musb_ep->type)) - musb_ep->hb_mult =3D (hw_ep->max_packet_sz_tx / - musb_ep->packet_sz) - 1; - musb_writew(regs, MUSB_TXMAXP, musb_ep->packet_sz - | (musb_ep->hb_mult << 11)); - } + if (can_bulk_split(musb, musb_ep->type)) + musb_ep->hb_mult =3D (hw_ep->max_packet_sz_tx / + musb_ep->packet_sz) - 1; + musb_writew(regs, MUSB_TXMAXP, musb_ep->packet_sz + | (musb_ep->hb_mult << 11)); =20 csr =3D MUSB_TXCSR_MODE | MUSB_TXCSR_CLRDATATOG; if (musb_readw(regs, MUSB_TXCSR) @@ -1038,11 +1034,8 @@ static int musb_gadget_enable(struct usb_ep *ep, /* Set RXMAXP with the FIFO size of the endpoint * to disable double buffering mode. */ - if (musb->double_buffer_not_ok) - musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_tx); - else - musb_writew(regs, MUSB_RXMAXP, musb_ep->packet_sz - | (musb_ep->hb_mult << 11)); + musb_writew(regs, MUSB_RXMAXP, musb_ep->packet_sz + | (musb_ep->hb_mult << 11)); =20 /* force shared fifo to OUT-only mode */ if (hw_ep->is_shared_fifo) { diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 45ed32c2cba9..3a8451a15f7f 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -574,11 +574,8 @@ musb_rx_reinit(struct musb *musb, struct musb_qh *qh, = u8 epnum) /* Set RXMAXP with the FIFO size of the endpoint * to disable double buffer mode. */ - if (musb->double_buffer_not_ok) - musb_writew(ep->regs, MUSB_RXMAXP, ep->max_packet_sz_rx); - else - musb_writew(ep->regs, MUSB_RXMAXP, - qh->maxpacket | ((qh->hb_mult - 1) << 11)); + musb_writew(ep->regs, MUSB_RXMAXP, + qh->maxpacket | ((qh->hb_mult - 1) << 11)); =20 ep->rx_reinit =3D 0; } @@ -804,10 +801,7 @@ static void musb_ep_program(struct musb *musb, u8 epnu= m, /* protocol/endpoint/interval/NAKlimit */ if (epnum) { musb_writeb(epio, MUSB_TXTYPE, qh->type_reg); - if (musb->double_buffer_not_ok) { - musb_writew(epio, MUSB_TXMAXP, - hw_ep->max_packet_sz_tx); - } else if (can_bulk_split(musb, qh->type)) { + if (can_bulk_split(musb, qh->type)) { qh->hb_mult =3D hw_ep->max_packet_sz_tx / packet_sz; musb_writew(epio, MUSB_TXMAXP, packet_sz --=20 2.16.1 --=20 Cheers, Stephen Rothwell --Sig_/umKnlmX/lxALQopnVGFj6me Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlqq8CMACgkQAVBC80lX 0GzSfAf/QV1gaMeA64E61bLdUEgrJZSNBnl0z9J922HO5JWmPpqVKEZQx+miQT0H tBlqt+pgkQt7iBC/CBhM4WZLyAiazvnwUVu/F4LRNvqPx/J85Iq0kZ8EbzHvBsJp frnVoMidQPotuS5O6LahBi2CUaoDBU0Wh8TDu0rpR4PNgeuVlHt9hfQzFMLjl1iN zDcjGK0MAslCmx7IacxATIWk3/SKKaN7lE0h91dQJltoodSwVlQ+5Q9RyjQgG/bu vlgyWaElz6vZtah9B7hNbUSHAOckHDpKHBbFPERO9NOfOTJQQhMD9xKMXuHnF54G ZpOd27pB5qYSjE4YnSc/BYTCVV65cA== =1kQm -----END PGP SIGNATURE----- --Sig_/umKnlmX/lxALQopnVGFj6me--