/* * Copyright IBM Corp. 2001,2008 * * This file contains the IRQ specific code for hvc_console * */ #include #include "hvc_console.h" static irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance) { /* if hvc_poll request a repoll, then kick the hvcd thread */ if (hvc_poll(dev_instance)) hvc_kick(); /* * We're safe to always return IRQ_HANDLED as the hvcd thread will * iterate through each hvc_struct. */ return IRQ_HANDLED; } /* * For IRQ based systems these callbacks can be used */ int notifier_add_irq(struct hvc_struct *hp, int irq) { int rc; if (!irq) { hp->irq_requested = 0; return 0; } rc = request_irq(irq, hvc_handle_interrupt, hp->flags, "hvc_console", hp); if (!rc) hp->irq_requested = 1; return rc; } void notifier_del_irq(struct hvc_struct *hp, int irq) { if (!hp->irq_requested) return; free_irq(irq, hp); hp->irq_requested = 0; } void notifier_hangup_irq(struct hvc_struct *hp, int irq) { notifier_del_irq(hp, irq); } ='emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/bluetooth/hidp/Makefile
040.h?h=nds-private-remove&id=045169816b31b10faed984b01c390db1b32ee4c1'>twl6040.h
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-10 09:47:13 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-10 09:47:13 -0800
commit045169816b31b10faed984b01c390db1b32ee4c1 (patch)
treeecb1d0c763f3d8cb0af749717b66ac47e6981d33 /sound/soc/codecs/twl6040.h
parentcd6628953e4216b65e7d91ab70ff8e5b65c9fde9 (diff)
parent678b5c6b22fed89a13d5b2267f423069a9b11c80 (diff)
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: "This fixes the following issues: - Fix pointer size when caam is used with AArch64 boot loader on AArch32 kernel. - Fix ahash state corruption in marvell driver. - Fix buggy algif_aed tag handling. - Prevent mcryptd from being used with incompatible algorithms which can cause crashes" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: algif_aead - fix uninitialized variable warning crypto: mcryptd - Check mcryptd algorithm compatibility crypto: algif_aead - fix AEAD tag memory handling crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash crypto: marvell - Don't copy hash operation twice into the SRAM
Diffstat (limited to 'sound/soc/codecs/twl6040.h')