Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp967820imj; Thu, 7 Feb 2019 15:04:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IYprn1ZsJ1rqX449mgbXd93PY1/8mwZxTbhGo0CScapUhT+SV1p1z1/a/1U/zcL6z8UiMpP X-Received: by 2002:a63:2c8c:: with SMTP id s134mr16041538pgs.269.1549580660419; Thu, 07 Feb 2019 15:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549580660; cv=none; d=google.com; s=arc-20160816; b=feJBcOx7+fsl+aHmULaOxUn6sqDcvw3bShAkY27aHJHT83Fi5jRpBjyRPI4UCV9sLp uPF0IxxdpmdllB97v2/78yJe9/BR6e52GoxOvKNcxwpj1fISt/hHo4ABIeeG2821I2G7 WR2PNfFdaHaWA+MoPmVu02vShg+pCj+35PRaCbR4mkLxvE1b+qwVCZ+Fb/uCi8Ny+hpV RF43PacEVsxbj8GcmpPuUg7oD8Ahuxz2tPztzqs6AvvL16fP+DeDBzIyB38CvYKp4GZ1 ciL8fx6ssqQ39GYnSMqUDNA0dSGXDew6xxN9CWFr5OouU2y7j7Y9YgWp2pWxhOYM6stn Ecdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9VWQmC4F35xJ38pomul1qzGug7X9Rcu6zXI5Pq20qDs=; b=omO7xAid2de5FdnL+S6JjigcGtKdYcpohMPZ/BlyMl1FqcilP/UgzqCyv8XfB2YUUA M87wRowDSh8zwd1UgafMp+CrzAyWPVgnmZ4kfHmtiJWlVVIH96pNAHxABuhfxP3+ofdQ 5osgH8Nj9i6sqzO+KCU25u2gsccWkmF3EjPw6tXFTYoBsL2qVqzwORHixLHyhAzGTKd0 FMHyudT94q0UHAasujQ28VZT0PDRhArN52a2TYba6axN2ifSNxwyncrq7zO84MaxOm86 0sTlk8tUX0bkKmDs7mMrxLG9vnbBYDU954gtRg4U4Qk/KZy1AKRlSaXEoacMUl/DEjM0 POGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ruoiiz3V; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si261450pgb.520.2019.02.07.15.04.03; Thu, 07 Feb 2019 15:04:20 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ruoiiz3V; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbfBGXDP (ORCPT + 99 others); Thu, 7 Feb 2019 18:03:15 -0500 Received: from mail-ot1-f46.google.com ([209.85.210.46]:36544 "EHLO mail-ot1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726622AbfBGXDO (ORCPT ); Thu, 7 Feb 2019 18:03:14 -0500 Received: by mail-ot1-f46.google.com with SMTP id k98so2872114otk.3; Thu, 07 Feb 2019 15:03:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9VWQmC4F35xJ38pomul1qzGug7X9Rcu6zXI5Pq20qDs=; b=Ruoiiz3V+HB/GC8cjTHmuGlzzGPG2QcVq2iW23BXtp2njpIeAuPJI+tBX+1iqy4uBT 6JsNSMXoVDduM9qWFWBIG0hdbw566O1qFuCIiHKzgKz3Veo1WXIKbfnTVFfYAsUesMFz 5RgoGXC9Igf7Ys5cpE2FmxOby0pXTNcE0an7aaf4/BuD6qoFNSo1ra7DCB1H6rf6Eisy gHmiivyNv5knpwg3++saGJCU5dROPTZc2gncETddoe1MU7VS6KLxKgU/0K9bUVelfLw9 WV4fgkT31Ml9v5xplorJifvK1dnXqDDauAfn6Etv2zjb3G8wZOrJGl7JTpdlcoy0fKsD ADdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9VWQmC4F35xJ38pomul1qzGug7X9Rcu6zXI5Pq20qDs=; b=ksMpISCnDmDhOsNJRMrj6ro7gvj6KKxC0B6Zz+bAPteGWPCS7EXLwd1wrcAiDzeKC8 CQfTfsTRu7gvGPf6or11LqChmeEkaQKwhuQr6CNvbunXMr6RixaQDgyMuwrshTDMVc+y LMS1T37GLrVb/oEI+gtLPYbVxtIIx6Ono7xj3H7YtWEwZ1sbEbqPPSxVwECFDtXKTYt8 ArJ14PvQ97GCxs81cWbD/LDetbuRvt8FwDEYYpJEx6ehrczrGg9oW6PG7c2TAiEkOclw rJu1Y8ATk2MxD02Z/S2nJIwJTZ5Qbfrz1McAL26bdUv5Hwyvb+QqBQ/2oElc+HVLL7YM 2Wmg== X-Gm-Message-State: AHQUAuZb4YMqvftCHBHOh9dxKXag6ydm1pxp6IQ0bCD/TjhZ8TR1HGaI 6Qy0UGiAwXDS1xsv3cPGUD6w5paIk8TsPg3i56nxng== X-Received: by 2002:a54:4005:: with SMTP id x5mr308237oie.124.1549580594016; Thu, 07 Feb 2019 15:03:14 -0800 (PST) MIME-Version: 1.0 References: <20190207222740.GA38612@dtor-ws> In-Reply-To: <20190207222740.GA38612@dtor-ws> From: Sven Van Asbroeck Date: Thu, 7 Feb 2019 18:03:03 -0500 Message-ID: Subject: Re: [PATCH] Input: ps2-gpio - flush TX work when closing port To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Danilo Krummrich , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 7, 2019 at 5:27 PM Dmitry Torokhov wrote: > > + flush_work(&drvdata->tx_work.work); Would cancel_work_sync() be better than flush_work() ?