Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp416585pxa; Fri, 21 Aug 2020 10:30:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzqJH1K3zj484e3asnfUv+MSBrMiPU/K2hscba7kzHE+YbTmSXUI88TaGuHYFzttS0ZMOB X-Received: by 2002:a50:e611:: with SMTP id y17mr3724092edm.376.1598031037235; Fri, 21 Aug 2020 10:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598031037; cv=none; d=google.com; s=arc-20160816; b=pN3dySpgr2+WCxxFqm8c3x989wlHYIsG2+01QUt/s5ZN3NxHeHYznwaOaTjH+Cd0O8 poCJts7fJ5uP8PfeTuHSO2hpvzvPGeQZHBMGTIdpwY47q22Z4FMF7VMi50e4MAj4RjJ5 Az5c+o3lpwoYw3W6FuxlRcN4cI+C2PFEpFyBvi36BMc8XFmZIuaB+3Vu1wbO2x/QyKJV fwofo98s+Q7lyyRyqeJ7ZcbhNGsMOItllJ+dbpMXCRlCOpVWFHKS5uHXwvOUKA+COkwv +7X8a3utFp3IGkLVO/+U89O+tthWOL1xOrl1uR1+fu1vZ7s3RKmXI9tWCvKRUSGlBwuR taOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:organization:mime-version:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=f9ZoaiPzWLgD51UeFyh+Y/m4lqI80t9LqJw5EDwV3o4=; b=Moh1sCQT7jfcZDjUemLkJuhrJe0LRmhvqDGBoijdcsWYfgBm9e8neRV3urRj07S5Gu x9ZreZeHlml3B+DgPywX3zTEGsijpzrM2lox7WWp4lzXBTmEtYr6QCAwUSU6O5WAFkGp f95LzROy1/yN+63w+z+z8AfQDGiWNoWu3Tie+7s1bLaOGBDphA9XU6yI6aI9znFkGVsF KSdDveup81m0YwPGeXnNWheaL7754flAKv1PLgTFMcBnRX+HMntdwiI/jAVN1c4/FV7i YIrl7II4FohLeWhmSYSBi2cL5ld2kh1pjJXJsWi+776KOnpL1DiysjIxyMsvGexq2cLU 15Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Ff3yudBM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si1570961ejc.114.2020.08.21.10.30.14; Fri, 21 Aug 2020 10:30:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Ff3yudBM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbgHUR3p (ORCPT + 99 others); Fri, 21 Aug 2020 13:29:45 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38786 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbgHUQOV (ORCPT ); Fri, 21 Aug 2020 12:14:21 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200821161409euoutp0272a4c6f73646412afd89b2a4d7a9f06e~tVJbDHrDi0659906599euoutp02N for ; Fri, 21 Aug 2020 16:14:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200821161409euoutp0272a4c6f73646412afd89b2a4d7a9f06e~tVJbDHrDi0659906599euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1598026449; bh=f9ZoaiPzWLgD51UeFyh+Y/m4lqI80t9LqJw5EDwV3o4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ff3yudBMCM3oSkyke0r7TiTSjNobWWAzURQDgSfqlAAEyvpq3nE09kvfhmHJcmRB9 u+HoqkvM1vJqB05iAqPsIl+oJ/D5RjcIV5r9MGjcEPzLDjT2fN2M1unG8gwRaY/27Z 0V/zue6jR1XOxWQ2HUg+Djr+ME2ya/9WbGFM/+t0= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200821161408eucas1p2f219698ed28e48498174566d657bb905~tVJaP7GNV1780817808eucas1p2i; Fri, 21 Aug 2020 16:14:08 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 59.D9.06456.0D2FF3F5; Fri, 21 Aug 2020 17:14:08 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200821161408eucas1p196aa4b954b3d19ad1b89a48dbbe41fbc~tVJZ9b1760797107971eucas1p1Y; Fri, 21 Aug 2020 16:14:08 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200821161408eusmtrp2a6fdfcf29771ff7b7170690ca3f78348~tVJZ80IoL2998229982eusmtrp2i; Fri, 21 Aug 2020 16:14:08 +0000 (GMT) X-AuditID: cbfec7f2-7efff70000001938-da-5f3ff2d0505d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7D.17.06314.0D2FF3F5; Fri, 21 Aug 2020 17:14:08 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200821161407eusmtip2b56ff438e1c05e1bcd9f07b3c42427d2~tVJZyH58K3023630236eusmtip2U; Fri, 21 Aug 2020 16:14:07 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: Kukjin Kim , Krzysztof Kozlowski , Andi Shyti , Mark Brown , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: m.szyprowski@samsung.com, b.zolnierkie@samsung.com, =?UTF-8?q?=C5=81ukasz=20Stelmach?= Subject: [PATCH v2 9/9] spi: spi-s3c64xx: Turn on interrupts upon resume Date: Fri, 21 Aug 2020 18:14:01 +0200 Message-Id: <20200821161401.11307-10-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200821161401.11307-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAKsWRmVeSWpSXmKPExsWy7djP87oXPtnHGxy9L2ax+MdzJouNM9az Wkx9+ITNov/xa2aL8+c3sFvcPLSC0WLT42usFpd3zWGzmHF+H5NF48eb7BZrj9xld+D2uL7k E7PHplWdbB6bl9R79G1ZxejxeZNcAGsUl01Kak5mWWqRvl0CV8by2UvZCraxVfz4N4mpgXEH axcjJ4eEgInE+iuzmLoYuTiEBFYwSly+v4UFwvnCKDF7z2qwKiGBz4wS/6d6w3Qcv7udHaJo OaPEnWczWCGc54wSWz7OYAKpYhNwlOhfegIsISIwgUni4bk3bCAJZoFSiZ6dh8BsYQEPicNf tzGC2CwCqhKH73WBxXkFbCQ2ntzJDrFOXqJ9+XawOCdQ/PilJlaIGkGJkzOfsIDY/AJaEmua rrNAzJeXaN46mxlksYTAOXaJnVM/MUIMcpFYMvMo1FBhiVfHt0DZMhL/d84HupoDyK6XmDzJ DKK3h1Fi25wfLBA11hJ3zv1i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JDmYlEV6ns6fjhHhTEiurUovy44tKc1KLDzGaAr05kVlKNDkf mBjySuINTQ3NLSwNzY3Njc0slMR5OwQOxggJpCeWpGanphakFsH0MXFwSjUwGkyUW3x6S/vN mA6NqN039eu3vVQQO73dwHp+lIn60dN+cpGim4w2uD95o/4kWHJ/fiQT614GP/EfXbsZue9n vzmnZPi74sYLXZFPO6Yy/agMun3NZLnUj9JDEa/K+6PvV319m/gzd8m9yL7k2aEsqdvjphX9 f7G314ll5oxfM0+kzUl+fVLpqRJLcUaioRZzUXEiAMi6GibUAgAA X-CMS-MailID: 20200821161408eucas1p196aa4b954b3d19ad1b89a48dbbe41fbc X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200821161408eucas1p196aa4b954b3d19ad1b89a48dbbe41fbc X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200821161408eucas1p196aa4b954b3d19ad1b89a48dbbe41fbc References: <20200821161401.11307-1-l.stelmach@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org s3c64xx_spi_hwinit() disables interrupts. In s3c64xx_spi_probe() after calling s3c64xx_spi_hwinit() they are enabled with the following call. Signed-off-by: Ɓukasz Stelmach --- drivers/spi/spi-s3c64xx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index ea5a22dec53d..53e3581bcd7b 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1378,6 +1378,10 @@ static int s3c64xx_spi_runtime_resume(struct device *dev) s3c64xx_spi_hwinit(sdd); + writel(S3C64XX_SPI_INT_RX_OVERRUN_EN | S3C64XX_SPI_INT_RX_UNDERRUN_EN | + S3C64XX_SPI_INT_TX_OVERRUN_EN | S3C64XX_SPI_INT_TX_UNDERRUN_EN, + sdd->regs + S3C64XX_SPI_INT_EN); + return 0; err_disable_src_clk: -- 2.26.2