Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2860364imu; Sun, 9 Dec 2018 11:02:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/VTzUdynPmEdOMppkyY3Vv2AtQOyOk8pRTHkqKUfH5XTFln6EGKuttZSH1zk7MqDh8TXfp5 X-Received: by 2002:a17:902:830a:: with SMTP id bd10mr9480715plb.321.1544382165335; Sun, 09 Dec 2018 11:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544382165; cv=none; d=google.com; s=arc-20160816; b=QmTYhV1Q70i/lbclRpVdFdd13kMR1ADp50y5rupADBNKdwGAis/286CfssXe510RNB JFkX6scAa8IKWaC1YpTvswdeXWFwZmKABDpGOtjxpO/hGohgw3rt45VejjSd5+k6FmQs rJy31u3E66oDsZTo+G5b5tXmt8Mb/lqfSs+l2Edrh4mgE13VQYmIcZJouX6oaDvgnC1b KWa9ueGzw7jHsegmrDGABL8C/YZ/OMyCrj5DjDsVNIqGtenc/GZExjtMmhZ9Go3VPPOt +GQsC50CKF5Ww78HIrwKpWOEswCZP9mRHO1hjwOvZisVVU55Ch1FYbp1UN4EYCfuhsyC PI/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HXSMs0NdnNkqvE+essbtRJERcGnZDdB0NIQwHQkfznU=; b=oUwhIycFamqKQgLazo54AYNrdzX7xx3CsvHap6D3249IjW0ri/ZJsJ/3ys8Pm8L2ML /QIQ9EKUzIHIHNkZtyhfgEev/ZvzVBGuvtnQi7bjvGes7Np2kwz33J3xkiIDm2peGRL8 03i4BY5po878lAyQmyahd9tMYA/RJb7lA6WBxAkwJK4fQQlgbkZrH+5K++36ITIWpGO7 ZIdDRJUr3q11cB9WkQBO0U6mmfWrsv/raWurmAO7r890JPQZUTMeEQZEYXf6LG5hjSgB kQVXpCyslY3fXM2pIFv/S1PT0QMGpxKAPm+rzdA35x1BA0iZF+rKzRvo4k2p7cHbEpN2 QuoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=jgEw9UJ5; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si7332954pgu.19.2018.12.09.11.02.29; Sun, 09 Dec 2018 11:02:45 -0800 (PST) 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=@googlemail.com header.s=20161025 header.b=jgEw9UJ5; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726270AbeLITBr (ORCPT + 99 others); Sun, 9 Dec 2018 14:01:47 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:33729 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbeLITBr (ORCPT ); Sun, 9 Dec 2018 14:01:47 -0500 Received: by mail-wm1-f68.google.com with SMTP id r24so5059076wmh.0; Sun, 09 Dec 2018 11:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HXSMs0NdnNkqvE+essbtRJERcGnZDdB0NIQwHQkfznU=; b=jgEw9UJ5+BIrlKkd4a0Lsqon6XQXbZ/a8hmURa6s8t2Of9WWHkTXNZ3D9SlsDk8owv p35MalkHa2wfTimgcLVrv2EDHWJbNjFLCB/QOGZR+Gi+p2uA1WnvWTJ4dR0nLc0JzuI2 9YeSA5rkwnFyqZJ9m7T+KkC2SykucQ6YjX3g7xkYDFkNkLvPkhSezFn1Xi2FGnVBoLm2 HiM0QG2hz70PcXbepFY6WvQA2U/3xhP9sAW2lbZRJy11u9bFmANP6m/c/4LR+VN3EFTW vAydQRZqfarVAYQLHH6mb6SjzklejSG3kKoCRQKWl+rag2RGDNpD9l2nx3EmmBlK/f6W mqfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HXSMs0NdnNkqvE+essbtRJERcGnZDdB0NIQwHQkfznU=; b=fgJdGVhnCyaFZnIJ5+Q3Whl3IIa27rrvFOXmhGUycbJImQvy5lsYvvlLl8oTFFKUvY aeEEAb3g43nm68boT7ZPWXN5OY0Hk4QIFFiOQhzQfu1jN8eTVv5kDQlHgaKOll4Dgn6u g8ky2iyvc3ydXZ/1zMb092etFtqm0eTz2wqhPHPyO9Za2g9B3Acjq/YxHTrOAj1bTcYL zK0is3RWtigy523M1gb7mUD1F7BMQnaBMzpZg4muS9QE0l68J/flIOKi3BkKRGZr/gHg 3ycoxrCSV9jfd3zvFgifPKz1etG9NXz5fm9Lz+IPGt1x1r9Z2rlKfmYCpt+BMCmvPT7B 9ixA== X-Gm-Message-State: AA+aEWbFV1trLuvI+OSo4W+IqhCYUWQTfQtlgvJb8PaEW4rARf2ACUbA k2GAEIhGDVzRqw20BqgE3GiAXj7F X-Received: by 2002:a7b:c24c:: with SMTP id b12mr7474590wmj.29.1544382105141; Sun, 09 Dec 2018 11:01:45 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id l197sm30560215wma.44.2018.12.09.11.01.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Dec 2018 11:01:44 -0800 (PST) From: Martin Blumenstingl To: linux-usb@vger.kernel.org, hminas@synopsys.com, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, Arthur.Petrosyan@synopsys.com, christianshewitt@gmail.com, Martin Blumenstingl Subject: [PATCH 0/1] usb: dwc2: fix hot plugging on Amlogic devices Date: Sun, 9 Dec 2018 20:01:28 +0100 Message-Id: <20181209190129.11870-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a follow-up to an issue I had a while ago but never had the time to debug it: [0] Short summary: - on Meson8b USB devices are only detected if they are plugged in before booting Linux - if they are plugged in after booting Linux they are not detected (except when running "lsusb -v" as a workaround) Christian Hewitt made me aware of a similar issue that was fixed for Rockchip devices. This single patch applies the same fix to the Amlogic devices as well. [0] http://lists.infradead.org/pipermail/linux-amlogic/2018-May/007310.html Martin Blumenstingl (1): usb: dwc2: disable power_down on Amlogic devices drivers/usb/dwc2/params.c | 1 + 1 file changed, 1 insertion(+) -- 2.19.2