From: Cyrille Pitchen <cyrille.pitchen@atmel.com>
To: nicolas.ferre@atmel.com, gregkh@linuxfoundation.org,
wenyou.yang@atmel.com, ludovic.desroches@atmel.com,
leilei.zhao@atmel.com, voice.shen@atmel.com, josh.wu@atmel.com,
linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Cyrille Pitchen <cyrille.pitchen@atmel.com>
Subject: [PATCH 0/5] tty/serial: at91: fix atmel_serial_probe(), dma_sync_* and the Hardware Handshaking support
Date: Tue, 9 Dec 2014 14:31:31 +0100 [thread overview]
Message-ID: <cover.1418131298.git.cyrille.pitchen@atmel.com> (raw)
This series of patches fix many bugs:
- a wrong enum type was used when calling dma_sync_*_for_cpu() and
dma_sync_*_for_device()
- IO accesses to registers were done in atmel_serial_probe() after the
peripheral clock had been disabled.
- the -EDEFER error was not handled properly in atmel_serial_probe()
- the Hardware Handshaking mode could never be enabled to control the RTS line
The patches were made from the next-20141205 tag of the linux-next repository.
They were tested on a SAMA5Dx FPGA platform.
Cyrille Pitchen (5):
tty/serial: at91: use correct type for dma_sync_*_for_cpu() and
dma_sync_*_for_device()
tty/serial: at91: enable peripheral clock before accessing I/O
registers
tty/serial: at91: fix error handling in atmel_serial_probe()
tty/serial: at91: fix RTS line management when hardware handshake is
enabled
tty/serial: at91: fix typo and indentation
drivers/tty/serial/atmel_serial.c | 153 +++++++++++++++++++++++++-------------
1 file changed, 101 insertions(+), 52 deletions(-)
--
1.8.2.2
next reply other threads:[~2014-12-09 13:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 13:31 Cyrille Pitchen [this message]
2014-12-09 13:31 ` [PATCH 1/5] tty/serial: at91: use correct type for dma_sync_*_for_cpu() and dma_sync_*_for_device() Cyrille Pitchen
2015-01-09 15:13 ` Nicolas Ferre
2015-01-09 22:19 ` Greg KH
2014-12-09 13:31 ` [PATCH 2/5] tty/serial: at91: enable peripheral clock before accessing I/O registers Cyrille Pitchen
2015-01-09 15:12 ` Nicolas Ferre
2014-12-09 13:31 ` [PATCH 3/5] tty/serial: at91: fix error handling in atmel_serial_probe() Cyrille Pitchen
2015-01-09 15:28 ` Nicolas Ferre
2014-12-09 13:31 ` [PATCH 4/5] tty/serial: at91: fix RTS line management when hardware handshake is enabled Cyrille Pitchen
2015-01-09 15:40 ` Nicolas Ferre
2014-12-09 13:31 ` [PATCH 5/5] tty/serial: at91: fix typo and indentation Cyrille Pitchen
2015-01-09 15:41 ` Nicolas Ferre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1418131298.git.cyrille.pitchen@atmel.com \
--to=cyrille.pitchen@atmel.com \
--cc=gregkh@linuxfoundation.org \
--cc=josh.wu@atmel.com \
--cc=leilei.zhao@atmel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=ludovic.desroches@atmel.com \
--cc=nicolas.ferre@atmel.com \
--cc=voice.shen@atmel.com \
--cc=wenyou.yang@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).