Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1440094ybn; Wed, 25 Sep 2019 18:34:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9tLpYUS0pwr8GWMMFCvkaQbHmy+4dNd0KBY4XNKFVZTwZ7rYe8Yy+mNi93e8YLENHZnQ7 X-Received: by 2002:a05:6402:1a52:: with SMTP id bf18mr1019450edb.67.1569461641293; Wed, 25 Sep 2019 18:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569461641; cv=none; d=google.com; s=arc-20160816; b=iJYsM53MEf1gmxbStYM66Xu1e+73JZ3F6jm267ntDTobKHps8X1Tiev/8AQkZhd2jI dWCn3UlRMS4D3IIhG/hKu8c1QWwTQCr2BpQDbaMFZzOvgG37cOAWtE29yzYvoqemRqwr NQm7FBEGvubNWGI5aShfgL1XDeb0RiNSDYjnzMmiJ7dG8RKUc/aEvTdNCFpr4ZR29e7a UOMf3d6jOr6aeB8F3Y5nk1OmmaKP408QWpAMqFM305IBZCkQIR2M6iJbeLYYQFq25vX/ eup9WZPs+uNxQpufUjpdDjbM1T/Awpda2LW7+EPhEPnyOpMlOajBRN2Ofxr4iaL4hvHk I+UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=hlhLP79rwFaRmES/Ws9bb6ZolHNVxaSdv/wdect2mzc=; b=T7nFxQ+oEPxOqM0rGgpJnnzxp6RH0/o8C7P9XzhKUyC/ZBWbE4VP0myCPyN51H+DZB 2KqKabBBGKanu549p34o/wpHBvomkLVTYUlH1mtU/9zGhq0dlsfilZoPloumndtyCBOJ bx9AhM6G8D1JdIgP40NJCdeEeyjPZAPe8XVtLLK0uwia1HBHIJcZ1lsqj4nTi7IopXAJ ywdqQWHpEBGBWLu7mwL0/3rXYfIYRhow6PyC82KzhhTuZnJ8da0OL525MbbozkPKHkvj 91PO+DnaDNR50HKTyqjByEHK7IrEyG9R6wXlVLnaC6NazGAlXesZMOjav35z0pbzoX8s jXQg== 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 z9si459958edz.77.2019.09.25.18.33.37; Wed, 25 Sep 2019 18:34:01 -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 S2440784AbfIXLGF (ORCPT + 99 others); Tue, 24 Sep 2019 07:06:05 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:53815 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438600AbfIXLGE (ORCPT ); Tue, 24 Sep 2019 07:06:04 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46cyzZ4Bsxz1rLPh; Tue, 24 Sep 2019 13:06:02 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46cyzZ3dW3z1qqkG; Tue, 24 Sep 2019 13:06:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id mritbTMQesNz; Tue, 24 Sep 2019 13:06:01 +0200 (CEST) X-Auth-Info: sCc3ghK+gZ5oOxkg3UznVI/8Y3ZyFTKYP/gfWzsOp0M= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 24 Sep 2019 13:06:01 +0200 (CEST) From: Lukasz Majewski To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, krzk@kernel.org, Lukasz Majewski Subject: [PATCH 0/2] spi: Fix problem with interrupted slave transmission Date: Tue, 24 Sep 2019 13:05:45 +0200 Message-Id: <20190924110547.14770-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series fixes problem with recovering Vybrid's NXP DSPI controller state after master transmission distortion. It was tested with a setup where /dev/spidevX.Y devices were used in a loopback mode (provided by proper HW connections). During this test the distortion was introduced and the system was assessed if it is possible to continue correct SPI transmission. This series applies clearly on v5.2 (tag) and current mainline: SHA1: 4c07e2ddab5b6b57dbcb09aedbda1f484d5940cc Lukasz Majewski (2): spi: Add call to spi_slave_abort() function when spidev driver is released spi: Introduce dspi_slave_abort() function for NXP's dspi SPI driver drivers/spi/spi-fsl-dspi.c | 20 ++++++++++++++++++++ drivers/spi/spidev.c | 1 + 2 files changed, 21 insertions(+) -- 2.20.1