Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp286441iof; Mon, 6 Jun 2022 03:33:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYYJfHGLU48/AJ/PuF7rxzttSJNWNMQqYrsnwVhGJuFybxbsw8zkrinWKzxxc4GOEdR7Pl X-Received: by 2002:a63:5760:0:b0:3fc:4001:a2f2 with SMTP id h32-20020a635760000000b003fc4001a2f2mr20483366pgm.34.1654511607182; Mon, 06 Jun 2022 03:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654511607; cv=none; d=google.com; s=arc-20160816; b=ViITB/iq678fLva7NIMCzjKV9TRDUaagVpxs6Thgh1Qn1QUH/mPLE+N4wM4dO/a8Hv KQBcLSDR5pu0xOLIPtUnso61CovXzJojzJS2dn9S9KXInlZnpo6Q2/9vy9i9kIxZLuhg 80TFb7ey5EPCixxKcXgpa5JQcUCjz1Tmpx+WfoBcRyIqy1fYIqRcXXHRbIblipU/jBcn uGInbMUszxOcTeJgLB1vD48DFB/MRKQHoGd53B9yJkgHAgm221B9wqC8j98fE4Aa8oOn O/cVfkafrSeLkyI+EURE47YiTd4iOtLwtYZtYEWi/ZLTHcZYqzCWvnSCufKgFOnYYQvg /dbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XMW76mUT2qH54iwYJVNHmMBalgu3kMZgWZNFv0f0P5U=; b=vnDbEy7Z+NA0M/+hOf02xh5S0zxI627TIFYAnQqKayACkEHwVkrPl3gK1UqkBvo44k eWSAis6Qb58i2PGwZkoUmIavfrPbzoun5z48hXML4s0QI6GrxsubS+KnYzoDs0NAoysb LRwVTZIEBd44wxEKLahl4I2fizuOhthEyyWNjiMFashYzT6L3yuHkxi++oOWeVL7Y5OE W3gcmy5OD3PVkWmZ4xuHctySV8NlAh/KXNB3vwLQXV9IIQGzoAlsTWXWCtkcrV0DpQFS HqBlFHkmD/A35xgYkv/rC4gOBYyyR9DnYycAodjupEv2K9uGnpjrokd4o6oh650Z8B1p KnPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QmDjmMN+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i9-20020a631309000000b003fbe142c2e9si14322701pgl.283.2022.06.06.03.33.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 03:33:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QmDjmMN+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 873F61E7BFF; Mon, 6 Jun 2022 03:12:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233655AbiFFKJo (ORCPT + 99 others); Mon, 6 Jun 2022 06:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233544AbiFFKGd (ORCPT ); Mon, 6 Jun 2022 06:06:33 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1475A1406E5; Mon, 6 Jun 2022 03:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654509987; x=1686045987; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=I3RG7RiqLVkSjMY/0QXHmsqqxtOf4UPp+0s1mxIStBo=; b=QmDjmMN+E4MuCkOOUrGvLBhyHoQk8ycAbLTEJfI9yhtS2QVfg5jWFk3P YnYRqUzmytOj0HkkIEg6QpukYoKwuwO0uHlLtjP1StMN2POVOZgbBSjfo jCu04efKaRUhZMESPb5myDKU25LDkk0A8Zcofe+SwzYM7OqOM/R8eeGJ1 EVt+6/egM30ZN1ukIZUUPRX96WS+XKVrEpqyVQjovwvTToqYW6GamkmoQ Ut7EpQKCpQn3jvcqZFusgC3IWcFvZHn2iNt856y0IvVNYFsP2AYEkfsym nAr9dF4fTqc3XnCpRsjlJbKhRPvOHi0Dd4EqChpQbJMDgLljgBmkT/O8V A==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="362987090" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="362987090" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:06:26 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="635523882" Received: from amkossek-mobl1.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.252.57.11]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:06:24 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-serial@vger.kernel.org, Greg KH , Jiri Slaby , linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH 32/36] serial: max310x: Remove serial_rs485 sanitization Date: Mon, 6 Jun 2022 13:04:29 +0300 Message-Id: <20220606100433.13793-33-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220606100433.13793-1-ilpo.jarvinen@linux.intel.com> References: <20220606100433.13793-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Serial core handles serial_rs485 sanitization. Signed-off-by: Ilpo Järvinen --- drivers/tty/serial/max310x.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index 9837f542a55a..d7d1791fcb57 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1035,8 +1035,6 @@ static int max310x_rs485_config(struct uart_port *port, (rs485->delay_rts_after_send > 0x0f)) return -ERANGE; - rs485->flags &= SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX | - SER_RS485_ENABLED; port->rs485 = *rs485; schedule_work(&one->rs_work); -- 2.30.2