<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/tty/serial/sprd_serial.c, branch linux-5.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-09-21T05:18:15Z</updated>
<entry>
<title>serial: sprd: correct the wrong sequence of arguments</title>
<updated>2019-09-21T05:18:15Z</updated>
<author>
<name>Chunyan Zhang</name>
</author>
<published>2019-09-05T07:41:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3bf0e241c8136fde93f72d33b8485d43adf1234a'/>
<id>urn:sha1:3bf0e241c8136fde93f72d33b8485d43adf1234a</id>
<content type='text'>
commit 9c801e313195addaf11c16e155f50789d6ebfd19 upstream.

The sequence of arguments which was passed to handle_lsr_errors() didn't
match the parameters defined in that function, &amp;lsr was passed to flag
and &amp;flag was passed to lsr, this patch fixed that.

Fixes: b7396a38fb28 ("tty/serial: Add Spreadtrum sc9836-uart driver support")
Signed-off-by: Chunyan Zhang &lt;chunyan.zhang@unisoc.com&gt;
Signed-off-by: Chunyan Zhang &lt;zhang.lyra@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20190905074151.5268-1-zhang.lyra@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>serial: sprd: Fix a copy-paste err in sprd_request_dma()</title>
<updated>2019-04-16T13:21:33Z</updated>
<author>
<name>YueHaibing</name>
</author>
<published>2019-03-30T01:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a7457ba40f1474aa1bae2010b6f8582ba5ed57f'/>
<id>urn:sha1:7a7457ba40f1474aa1bae2010b6f8582ba5ed57f</id>
<content type='text'>
when dma_request_chan rx_dma fails, dev_err log should print rx_dma
err log.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Reviewed-by: Mukesh Ojha &lt;mojha@codeaurora.org&gt;
Reviewed-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Add DMA mode support</title>
<updated>2019-03-27T15:30:01Z</updated>
<author>
<name>Lanqing Liu</name>
</author>
<published>2019-03-04T08:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4487db58eb780a52d768f3b36aaaa8fd5839215'/>
<id>urn:sha1:f4487db58eb780a52d768f3b36aaaa8fd5839215</id>
<content type='text'>
Add DMA mode support for the Spreadtrum serial controller.

Signed-off-by: Lanqing Liu &lt;lanqing.liu@unisoc.com&gt;
Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Add power management for the Spreadtrum serial controller</title>
<updated>2019-03-27T15:30:00Z</updated>
<author>
<name>Lanqing Liu</name>
</author>
<published>2019-03-04T08:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4007098f4ce46c87c16ba34ddc00b042aa444b59'/>
<id>urn:sha1:4007098f4ce46c87c16ba34ddc00b042aa444b59</id>
<content type='text'>
This patch adds power management for the Spreadtrum serial controller.

Signed-off-by: Lanqing Liu &lt;lanqing.liu@unisoc.com&gt;
Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Modify the baud rate calculation formula</title>
<updated>2019-02-26T11:35:02Z</updated>
<author>
<name>Lanqing Liu</name>
</author>
<published>2019-02-19T07:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b9cea15a3de5d65000d49f626b71b00d42a0577'/>
<id>urn:sha1:5b9cea15a3de5d65000d49f626b71b00d42a0577</id>
<content type='text'>
When the source clock is not divisible by the expected baud rate and
the remainder is not less than half of the expected baud rate, the old
formular will round up the frequency division coefficient. This will
make the actual baud rate less than the expected value and can not meet
the external transmission requirements.

Thus this patch modifies the baud rate calculation formula to support
the serial controller output the maximum baud rate.

Signed-off-by: Lanqing Liu &lt;lanqing.liu@unisoc.com&gt;
Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Fix the indentation issue</title>
<updated>2018-09-18T14:07:24Z</updated>
<author>
<name>Baolin Wang</name>
</author>
<published>2018-09-17T18:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2de9601eb12e7c5b7519cf155cf613322211b54'/>
<id>urn:sha1:d2de9601eb12e7c5b7519cf155cf613322211b54</id>
<content type='text'>
Make the macros' definition and code have the same correct indentation.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Acked-by: Chunyan Zhang &lt;chunyan.zhang@spreadtrum.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Change 'int' to 'unsigned int'</title>
<updated>2018-09-18T14:07:24Z</updated>
<author>
<name>Baolin Wang</name>
</author>
<published>2018-09-17T18:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd22161eef8b19930aa4439722940f44e2aff521'/>
<id>urn:sha1:dd22161eef8b19930aa4439722940f44e2aff521</id>
<content type='text'>
The register offset value should be 'unsigned int' type.

Moreover, prefer 'unsigned int' to bare use of 'unsigned'.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Acked-by: Chunyan Zhang &lt;chunyan.zhang@spreadtrum.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Remove unnecessary resource validation</title>
<updated>2018-09-18T14:07:24Z</updated>
<author>
<name>Baolin Wang</name>
</author>
<published>2018-09-17T18:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=262d3dc00730f7a9d835faeca46689d750177e55'/>
<id>urn:sha1:262d3dc00730f7a9d835faeca46689d750177e55</id>
<content type='text'>
The devm_ioremap_resource() will valid the resources, thus remove the
unnecessary resource validation in the driver.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Acked-by: Chunyan Zhang &lt;chunyan.zhang@spreadtrum.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Use readable macros instead of magic number</title>
<updated>2018-09-18T14:07:24Z</updated>
<author>
<name>Baolin Wang</name>
</author>
<published>2018-09-17T18:33:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b5a997386b0594e671a32c7e429cf59ac8fc54c'/>
<id>urn:sha1:2b5a997386b0594e671a32c7e429cf59ac8fc54c</id>
<content type='text'>
Define readable macros instead of magic number to make code more readable.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Acked-by: Chunyan Zhang &lt;chunyan.zhang@spreadtrum.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sprd: Remove unused structure</title>
<updated>2018-09-18T14:07:24Z</updated>
<author>
<name>Baolin Wang</name>
</author>
<published>2018-09-17T18:33:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20464f3a9b46ef882b9fdf140dcc7ff6a6db8d4c'/>
<id>urn:sha1:20464f3a9b46ef882b9fdf140dcc7ff6a6db8d4c</id>
<content type='text'>
Remove the unused reg_backup structure.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Acked-by: Chunyan Zhang &lt;chunyan.zhang@spreadtrum.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
