From patchwork Tue May 13 15:02:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 30059 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8230F20369 for ; Tue, 13 May 2014 15:02:29 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id ar20sf2131569iec.8 for ; Tue, 13 May 2014 08:02:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=zDKIvGO83OB80M/TlQz47Y3V9t/BOQvDsOsXGNRT1nU=; b=WvS0xdD35KkChJCUNeWvt6GzvWfu5hTIXanDz+1tl3V0X9M2ctB/lIr3ngn9qNRT2E xshBSeVTACotOzulhnR9wV+3l5QJpVKmLw8UyZS9fbEKeuuIPJjSR/n+vhaAQy2po02U vOUNJr5WbiYrQGGiJxnu16ryP/FnK/hVqyI/dZM5vS0kcDv/5P2AGPEZIYbbEhSpV63E Q1frKLGCySzYrkC/vjvebLYuTgDl/YnE2bUpr2rmqFzyUp6u1IRVJX+zBDDnfNugQoKk B4DFzP+D2wXPJEHeAz15fmExpsrr8AT7DSGl79WAe3XMSOhp2qVo/v/jyEgyFQ5VoiRv S+zg== X-Gm-Message-State: ALoCoQldobeUNJTTPrn0P641N30yTV8wthaoPDJ8lw2WezGKnmSjk5bSjSbb/bXWhwDk4HH89KIA X-Received: by 10.182.125.4 with SMTP id mm4mr7471920obb.49.1399993348983; Tue, 13 May 2014 08:02:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.44 with SMTP id a41ls1891765qge.72.gmail; Tue, 13 May 2014 08:02:28 -0700 (PDT) X-Received: by 10.220.95.204 with SMTP id e12mr1201466vcn.37.1399993348848; Tue, 13 May 2014 08:02:28 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id fj7si922222vec.121.2014.05.13.08.02.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 08:02:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id oy12so587597veb.24 for ; Tue, 13 May 2014 08:02:28 -0700 (PDT) X-Received: by 10.52.227.138 with SMTP id sa10mr24777746vdc.25.1399993348779; Tue, 13 May 2014 08:02:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp158081vcb; Tue, 13 May 2014 08:02:28 -0700 (PDT) X-Received: by 10.68.104.225 with SMTP id gh1mr5854955pbb.87.1399993348004; Tue, 13 May 2014 08:02:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vy3si13568667pab.137.2014.05.13.08.02.27; Tue, 13 May 2014 08:02:27 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752875AbaEMPCX (ORCPT + 3 others); Tue, 13 May 2014 11:02:23 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:39373 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751348AbaEMPCW (ORCPT ); Tue, 13 May 2014 11:02:22 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4DF2FBO027206; Tue, 13 May 2014 10:02:15 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4DF2E2a007258; Tue, 13 May 2014 10:02:14 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Tue, 13 May 2014 10:02:14 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4DF2D46005074; Tue, 13 May 2014 10:02:14 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: , , Felipe Balbi , "Ivan T. Ivanov" , Tim Bird Subject: [PATCH] usb: phy: msm: make it depend on RESET_CONTROLLER Date: Tue, 13 May 2014 10:02:07 -0500 Message-ID: <1399993327-12543-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.0.rc1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , drivers/reset/core.c does not provide an empty stub for cases when CONFIG_RESET_CONTROLLER isn't enabled, which might break build of the MSM PHY driver if that driver is enabled but CONFIG_RESET_CONTROLLER isn't. We make the driver depend on CONFIG_RESET_CONTROLLER so we can never have such a case Cc: Ivan T. Ivanov Cc: Tim Bird Reported-by: Jim Davis Reported-by: Fengguang Wu Signed-off-by: Felipe Balbi --- drivers/usb/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index fbbced8..ec531a4 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig @@ -173,6 +173,7 @@ config USB_ISP1301 config USB_MSM_OTG tristate "Qualcomm on-chip USB OTG controller support" depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM || COMPILE_TEST) + depends on RESET_CONTROLLER select USB_PHY help Enable this to support the USB OTG transceiver on Qualcomm chips. It