Message ID | 20181214113410.22848-4-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1950647ljp; Fri, 14 Dec 2018 03:34:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/UD+u5lO/0mnpq/2GEvvb30Y5WCHpsbwAG6yrJLiBv0HSkMog061RER7s0lECFWAsHLOo3O X-Received: by 2002:a17:902:2c03:: with SMTP id m3mr2430651plb.6.1544787277567; Fri, 14 Dec 2018 03:34:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544787277; cv=none; d=google.com; s=arc-20160816; b=0Pw4m3jBkkGZ5ik9Dqrt3eAD2sj85tYW5MVF8peX4zq2/89NIKgFt4saSz/q4AlEer DrXRhqMVabJfLAJIVIMPiAtZz++KQTfWfQzHNK617lG5Hecv/9qLZH7im5fddnbpej1c pHMlJcyukwJDgHrSi7oGZP4357LfEmj1ZnRIRKtPqncWltf1HebF1Aby98lx7Sz2HgkF GxoQ95q+hEF5MPp+ZVoAgAz3xxj4XQl9X6AA2IPptCOKcjVkFpuIN5wOxLi7DoeSwQ8i +PzXbIldiTG4npqDlWaJImviPhY0B99f1/k3nXAYHyuEZU+ePByf3bR2KgrwWbzTrqDs BzTQ== 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:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=jvAUlilNmzd+AU7UdE4TPhi5W8/jx5JGRVZQCh47OGo=; b=bZvfFi0BrDd9U3Cjm5ZLpswIOlRa3wP5DJe8nMcEWoFSySLbg5kQPizhSjd6S3o3Tn EjmHBji/dpLp4M6vuxt/3OI3sFvSo0yhtjKryjQdSaFJudBaQn1R7+rxo+dIYIadT83H ezoZTKjAe6wX7qYH5b2WfR1Ch+jPmfqkkicBJb+vS3QGmoxoKqDEAqb2cXdRDOcD6Kih Ys9YnWR+T4ugpWoTqAk7YffUfmO2HJ+5fGuiJmOjPRWMUWnCBhitkqhtT/bG0i3iIIqi PlyokGV8/w9aKlBfjIQfQuOcHkQg4iTakwYrAZcXCd1yZuVvNUoGAsrB3H00l4n1KKAl /bbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Zit6uncD; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: <linux-serial-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5si3773346plj.129.2018.12.14.03.34.37; Fri, 14 Dec 2018 03:34:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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=@samsung.com header.s=mail20170921 header.b=Zit6uncD; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 S1729758AbeLNLeg (ORCPT <rfc822;nicolas.pitre@linaro.org> + 2 others); Fri, 14 Dec 2018 06:34:36 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:38136 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbeLNLeU (ORCPT <rfc822;linux-serial@vger.kernel.org>); Fri, 14 Dec 2018 06:34:20 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181214113419euoutp01ce202c09a08d450a78507e47c3fbfa69~wL9Ph1LzR0527705277euoutp01U; Fri, 14 Dec 2018 11:34:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181214113419euoutp01ce202c09a08d450a78507e47c3fbfa69~wL9Ph1LzR0527705277euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544787259; bh=jvAUlilNmzd+AU7UdE4TPhi5W8/jx5JGRVZQCh47OGo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=Zit6uncDILQkdVRZrspaXi7NO8I1BnKEHmEgVc5AnsLfFWHyTv2UdO64ucVzHmi39 yRDSsewxzKLeIw9wFizIEwJkJmxrLS34daO3BHhfC+8K2olrqGqoH+2sha2DQ8UGdg phbjHBi/GEf8yCV05l2Euls6/o5o0LuWFzmykmaA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214113418eucas1p23008a61b8b3951444b32157ecbc15a10~wL9PEqZkN0065800658eucas1p2I; Fri, 14 Dec 2018 11:34:18 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id DF.27.04441.A35931C5; Fri, 14 Dec 2018 11:34:18 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214113418eucas1p2bfb6f0d04010e73f6ca35c3a6664b316~wL9OYpndm2195821958eucas1p2S; Fri, 14 Dec 2018 11:34:18 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-4d-5c13953a858b Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 6C.D8.04284.935931C5; Fri, 14 Dec 2018 11:34:18 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PJQ004655GZZA10@eusync3.samsung.com>; Fri, 14 Dec 2018 11:34:17 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Krzysztof Kozlowski <krzk@kernel.org>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Beomho Seo <beomho.seo@samsung.com>, Seung-Woo Kim <sw0312.kim@samsung.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Lee Jones <lee.jones@linaro.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH 3/4] tty: serial: samsung: Increase maximum baudrate Date: Fri, 14 Dec 2018 12:34:09 +0100 Message-id: <20181214113410.22848-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181214113410.22848-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRmVeSWpSXmKPExsWy7djPc7pWU4VjDLa2yVtsnLGe1eL0p23s Fs2L17NZnD+/gd3i/tejjBaXd81hs5hxfh+TxZnFvewWa4/cZbc4/Kad1WLG5JdsDtwem1Z1 snncubaHzWP/3DXsHn1bVjF6fN4kF8AaxWWTkpqTWZZapG+XwJXR9uAtS8FqjoonH9eyNzC2 sHcxcnJICJhItM4/zdTFyMUhJLCCUWLxhrfsEM5nRoneudMYYarOzJgMZgsJLGOUeH3cH6Ko gUni9qrlTCAJNgFDia63XWwgtohAssSzuUcYQYqYBR4ySXRc/MYCkhAWcJE43NUGVsQioCrx c+9asDt4BWwlHszqZ4LYJi+xesMBZhCbU8BO4tiWTWAnSQgsYZOYeLwN6iQXiQ9NR1ggbGGJ V8e3QD0kI9HZcZAJoqGZUaJ9xiyo7h5Gia1zdrBBVFlLHD5+kRXEZhbgk5i0bTrQOg6gOK9E R5sQRImHxJdX3WwQf05klPi7qpVtAqPkAkaG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n83ieb//p1/Zbj3AXfvjx8 oaTEUpyRaKjFXFScCABIe2pDLwIAAA== X-CMS-MailID: 20181214113418eucas1p2bfb6f0d04010e73f6ca35c3a6664b316 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214113418eucas1p2bfb6f0d04010e73f6ca35c3a6664b316 References: <20181214113410.22848-1-m.szyprowski@samsung.com> <CGME20181214113418eucas1p2bfb6f0d04010e73f6ca35c3a6664b316@eucas1p2.samsung.com> Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: <linux-serial.vger.kernel.org> X-Mailing-List: linux-serial@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 2a49b6d876b8..9fc3559f80d9 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -1287,7 +1287,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, * Ask the core to calculate the divisor for us. */ - baud = uart_get_baud_rate(port, termios, old, 0, 115200*8); + baud = uart_get_baud_rate(port, termios, old, 0, 3000000); quot = s3c24xx_serial_getclk(ourport, baud, &clk, &clk_sel); if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST) quot = port->custom_divisor;