From patchwork Fri Oct 18 14:55:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 11198617 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CDAC9112C for ; Fri, 18 Oct 2019 14:56:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE016222C3 for ; Fri, 18 Oct 2019 14:56:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="DD4RNHCQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634272AbfJRO4H (ORCPT ); Fri, 18 Oct 2019 10:56:07 -0400 Received: from mail-wm1-f74.google.com ([209.85.128.74]:37636 "EHLO mail-wm1-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634270AbfJRO4H (ORCPT ); Fri, 18 Oct 2019 10:56:07 -0400 Received: by mail-wm1-f74.google.com with SMTP id o8so2864914wmc.2 for ; Fri, 18 Oct 2019 07:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=yc/eud15jtn/68GNn5D6RpG4esICx8d3KE84rtJsHck=; b=DD4RNHCQEYgY4LPTbWF0bEzKJpj56iYSVfCGi1ZakRuOvBmPkCeTTXZ9q/SkW8cIUe CgjVN+PqHKS9AmkhTwxFW0xc4rfeCokgJ4Axa1SSaAbPSMG5TYkGLp6JxMzbpWAnscvq DAWdpivSmAHrr61L3t/2s+/cQfqljrgLtTQvgwBtmtzr4Zvl7hTBKYXKYNGap/wRDYI5 1wG137HJ/Wy+rWeYjSTTmbyypl7QLpFfZwKa3zgKRQyqmQsbqsN5/VXdl1+VLnCmcufz KH3T510Qw/0dBnofaoT0FuGq2zAzuh9AyAQYRP9DjYDbIpBYBAEy/jrQsihtYxFikj8Y PIhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=yc/eud15jtn/68GNn5D6RpG4esICx8d3KE84rtJsHck=; b=WGg6IINuTK9nrjsHjIdkmppe7gFXA8Q6MhlR+2fkU6/XedbTrwhuhfvYL/8iaLkrON gUfLTvYq2ksPoXfK8qsN9Yl0mV+Zl6TU0BxJdWr+yrnfdprl5XekcMr1+fSQN+yQQPx8 qciAjGWEy2w+v2oBFby2651+CXK/yrPTtrxUO2NXQ2Wku+88/BGsEigJ7ZSh+/gHljD9 czHy5rcYz3GbRIJ+wx1EN6Geepf0y3JD7H0MWf+S/INBdaq3m6lPAnsrowgrdWwJIuye jg7gk+KrxWveV17PcDL3NRufcA9JwHmcN6Bdeq1B98QjVfskU3oxtwNNOmXPLuQU8p/C Hcng== X-Gm-Message-State: APjAAAW+kEEzg5V6SKcX8VNZQUQ1eMAukVx2fURwz1O3kJOtnJkty8a3 MF7Jc1XzLUhxVhn/LMezeT0CUohMJsP99hVvizh3uhiOUKKdXEWQldPEzKUgbS4qJLxoUHEAASl lsFrR7NuBM1+1338ghYVFJRKWbBm1zgVwqtiqqjxg3up2O4JqPljtmE1VBkAWSLxJ7uxYpSXM4E nW X-Google-Smtp-Source: APXvYqxyyrELtJ6sDmBfP7yBYHlnJtgNogNsv+PAFdAKgnfpSGntk1T5IuEHltHnQI7E9E7kzLuIOUqT0dorLOup X-Received: by 2002:a5d:4ace:: with SMTP id y14mr2449479wrs.131.1571410564846; Fri, 18 Oct 2019 07:56:04 -0700 (PDT) Date: Fri, 18 Oct 2019 16:55:56 +0200 Message-Id: <7a9d6e35873d52ec0ab1e6b9827d9299a1f4fb0d.1571409250.git.andreyknvl@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.23.0.866.gb869b98d4c-goog Subject: [PATCH 1/2] USB: dummy-hcd: increase max number of devices to 32 From: Andrey Konovalov To: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Alan Stern Cc: Felipe Balbi , Chunfeng Yun , "Jacky . Cao @ sony . com" , Dmitry Vyukov , Andrey Konovalov Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This patch increases the maximum number of Dummy UDC/HCD devices to 32. --- drivers/usb/gadget/udc/dummy_hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c index 3d499d93c083..a8f1e5707c14 100644 --- a/drivers/usb/gadget/udc/dummy_hcd.c +++ b/drivers/usb/gadget/udc/dummy_hcd.c @@ -2725,7 +2725,7 @@ static struct platform_driver dummy_hcd_driver = { }; /*-------------------------------------------------------------------------*/ -#define MAX_NUM_UDC 2 +#define MAX_NUM_UDC 32 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; static struct platform_device *the_hcd_pdev[MAX_NUM_UDC];