Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4868219yba; Wed, 10 Apr 2019 06:39:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgCz9PiJV9uf6v5qxmUVQbJ/2mP6YF3WUuPwvQIOFP0aagRDUGyn9XDv3eJhteqfnrhv3b X-Received: by 2002:a17:902:2ae6:: with SMTP id j93mr28085187plb.18.1554903561804; Wed, 10 Apr 2019 06:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554903561; cv=none; d=google.com; s=arc-20160816; b=rxLIu7mc4wCbvRZT3F91box2OUU0ScJSxMc9evsST0Ek6NVzOutykK3YTXAHuqZWa4 fB2pE91AlwzlPxHAMtqeqxylHB8AWYYzizI8FZM6XJh9/HikLhflRRcMk/4fsAvEatQp 3AFlrBYyULIEf6cT3sWu7BUVy2oNVqsOUnxlg6xm3voIFOUaLex5GBPiyF1TmovXp0eJ bk+O5j206NyzzoX2iyVn8Il1NbU3Wmn7FkTvkdE3Tp1ZHFrmugNqM5g0NQukQ/usRJo4 /k/3xwy1TU5FBIHOHF34DhVSaVdL+GL1vyBvm4w57RHtHRaevdCcp4FPC88hWtrQD7Bh thVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=1hrFk+o8WzUaHCIoeQ0oOZdWDCK4aV3rbbo2v0TQvUQ=; b=Jbs8PFOaSzpIZm15XymG7hPrAed2gx+oFZ7SU2tN6Vl7hNZnyYUl9olZm5/PqvbRUj ByxbDSCTG4bMvs6M5+ALE/8iK1XJQlPkA43L1FZLAT6XQuWpZ5s9Nb8ga/wjxSmOlEhW rJwkGW2fBAZbPK5UtnS3sx9dav/WNglLRsqwQw5bMIabIH7wkPRa94OpC6XqpvY5Huph +W5+CaUBJhMlPRM2ZuZoum+mlAVVkqy4LhloHbpzV1thVIKAWbNM5ma5vBf9KUPJjVn8 DvSwpHl9KnBiOncL2HkQl4EvyI52Gvmxcb0yn5DnjHvCd7TSqLbxuETAWHRNYcG+pNd4 6hsA== ARC-Authentication-Results: i=1; mx.google.com; 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 l33si33089676pld.309.2019.04.10.06.39.06; Wed, 10 Apr 2019 06:39:21 -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; 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 S1732210AbfDJMys (ORCPT + 99 others); Wed, 10 Apr 2019 08:54:48 -0400 Received: from smtp.asem.it ([151.1.184.197]:61694 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732186AbfDJMyr (ORCPT ); Wed, 10 Apr 2019 08:54:47 -0400 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 5.5.0) with ESMTP id SG003804506.MSG for ; Wed, 10 Apr 2019 14:54:43 +0200S Received: from ASAS044.asem.intra (172.16.16.44) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 10 Apr 2019 14:54:41 +0200 Received: from flavio-x.asem.intra (172.16.17.208) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server id 15.1.1261.35 via Frontend Transport; Wed, 10 Apr 2019 14:54:41 +0200 From: Flavio Suligoi To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Mark Brown CC: , , , Flavio Suligoi Subject: [PATCH 2/2] spi: pxa2xx: use a module softdep for dw_dmac Date: Wed, 10 Apr 2019 14:51:36 +0200 Message-ID: <1554900696-28858-2-git-send-email-f.suligoi@asem.it> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554900696-28858-1-git-send-email-f.suligoi@asem.it> References: <1554900696-28858-1-git-send-email-f.suligoi@asem.it> MIME-Version: 1.0 Content-Type: text/plain X-SGHeloLookup-Result: pass smtp.helo=webmail.asem.it (ip=172.16.16.44) X-SGSPF-Result: none (smtp.asem.it) X-SGOP-RefID: str=0001.0A0B0214.5CADE792.005C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 (_st=1 _vt=0 _iwf=0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With dw_dmac, sometimes the request of a DMA channel fails because the DMA driver is not ready, so an explicit dependency request is necessary. Signed-off-by: Flavio Suligoi --- drivers/spi/spi-pxa2xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index c9560a1..e8ac26b 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -1962,3 +1962,5 @@ static void __exit pxa2xx_spi_exit(void) platform_driver_unregister(&driver); } module_exit(pxa2xx_spi_exit); + +MODULE_SOFTDEP("pre: dw_dmac"); -- 2.7.4