/* * edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx * * Copyright (C) 2014 Texas Instruments, Inc. * * Author: Peter Ujfalusi * * Based on: sound/soc/tegra/tegra_pcm.h * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #ifndef __EDMA_PCM_H__ #define __EDMA_PCM_H__ #if IS_ENABLED(CONFIG_SND_EDMA_SOC) int edma_pcm_platform_register(struct device *dev); #else static inline int edma_pcm_platform_register(struct device *dev) { return 0; } #endif /* CONFIG_SND_EDMA_SOC */ #endif /* __EDMA_PCM_H__ */ get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/early
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-01-24 08:05:52 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-01-24 08:33:40 +0100
commit9dce990d2cf57b5ed4e71a9cdbd7eae4335111ff (patch)
treedfc3c82b1c6ddec3df7c0ebfcef53928d2ed2f4c /drivers/usb/early
parenta4685d2f58e2230d4e27fb2ee581d7ea35e5d046 (diff)
s390/ptrace: Preserve previous registers for short regset write
Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registers are preserved. convert_vx_to_fp() is adapted to handle only a specified number of registers rather than unconditionally handling all of them: other callers of this function are adapted appropriately. Based on an initial patch by Dave Martin. Cc: stable@vger.kernel.org Reported-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/usb/early')