From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrille Pitchen 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 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: linux-serial@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: cyrille.pitchen@atmel.com (Cyrille Pitchen) Date: Tue, 9 Dec 2014 14:31:31 +0100 Subject: [PATCH 0/5] tty/serial: at91: fix atmel_serial_probe(), dma_sync_* and the Hardware Handshaking support Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932220AbaLINbk (ORCPT ); Tue, 9 Dec 2014 08:31:40 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:18860 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932161AbaLINbi (ORCPT ); Tue, 9 Dec 2014 08:31:38 -0500 From: Cyrille Pitchen To: , , , , , , , CC: , , Cyrille Pitchen 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 Message-ID: X-Mailer: git-send-email 1.8.2.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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