From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754248AbbCMCAV (ORCPT ); Thu, 12 Mar 2015 22:00:21 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:38403 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751773AbbCMCAS (ORCPT ); Thu, 12 Mar 2015 22:00:18 -0400 From: Peter Hung X-Google-Original-From: Peter Hung To: gregkh@linuxfoundation.org, jslaby@suse.cz Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, tom_tsai@fintek.com.tw, peter_hong@fintek.com.tw, Peter Hung Subject: [PATCH 0/2] serial: 8250_pci: Fintek products patches Date: Fri, 13 Mar 2015 10:00:11 +0800 Message-Id: <1426212013-2801-1-git-send-email-hpeter+linux_kernel@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These series patches works for Fintek F81504/F81508/F81512 PCI to Serial Port. and patch 0002 is following with patch 0001. patch 0001 is just cleanup non-used source code. patch 0002 is major patch. The serial port of our product will failed after wakeup from S3(STR). It's due to when the system wakeup from S3(STR), this PCI device's configuration space from 0x40 to 0x40 + max_port * 0x08 should be re-configured. If had no re-configure, It's will all zero. We move all initialization from pci_fintek_setup() to pci_fintek_init() and set it to pci_serial_quirks struct .init section. It's will re-init this device when system wakeup from pciserial_resume_ports(). Peter Hung (2): serial: 8250_pci: remove non-used var for F81504 serial: 8250_pci: port failed after wakeup from S3 drivers/tty/serial/8250/8250_pci.c | 121 +++++++++++++++---------------------- 1 file changed, 50 insertions(+), 71 deletions(-) -- 1.9.1