// SPDX-License-Identifier: GPL-2.0-only /* * PCI driver for the High Speed UART DMA * * Copyright (C) 2015 Intel Corporation * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> * * Partially based on the bits found in drivers/tty/serial/mfd.c.
*/
ret = devm_add_action_or_reset(dev, hsu_pci_dma_remove, chip); if (ret) return ret;
ret = devm_request_irq(dev, chip->irq, hsu_pci_irq, 0, "hsu_dma_pci", chip); if (ret) return ret;
/* * On Intel Tangier B0 and Anniedale the interrupt line, disregarding * to have different numbers, is shared between HSU DMA and UART IPs. * Thus on such SoCs we are expecting that IRQ handler is called in * UART driver only. Instead of handling the spurious interrupt * from HSU DMA here and waste CPU time and delay HSU UART interrupt * handling, disable the interrupt entirely.
*/ if (pdev->device == PCI_DEVICE_ID_INTEL_MRFLD_HSU_DMA)
disable_irq_nosync(chip->irq);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.