/* * s3c24xx-i2s.c -- ALSA Soc Audio Layer * * Copyright 2005 Wolfson Microelectronics PLC. * Author: Graeme Gregory * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * Revision history * 10th Nov 2006 Initial version. */ #ifndef S3C24XXI2S_H_ #define S3C24XXI2S_H_ /* clock sources */ #define S3C24XX_CLKSRC_PCLK 0 #define S3C24XX_CLKSRC_MPLL 1 /* Clock dividers */ #define S3C24XX_DIV_MCLK 0 #define S3C24XX_DIV_BCLK 1 #define S3C24XX_DIV_PRESCALER 2 /* prescaler */ #define S3C24XX_PRESCALE(a,b) \ (((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT)) u32 s3c24xx_i2s_get_clockrate(void); #endif /*S3C24XXI2S_H_*/ e='cdaf25dfc058ee6f7a7b2e2353de00fa288c0cd4'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/aoa/aoa.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-01-30 10:55:04 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-30 16:37:55 -0500
commitcdaf25dfc058ee6f7a7b2e2353de00fa288c0cd4 (patch)
treea45096fd9e8aaeea2eac1f1999a3d17dfeb0d02b /sound/aoa/aoa.h
parent1930b60352e7e195f55b27cde15d2a8f43342a8b (diff)
smc: some potential use after free bugs
Say we got really unlucky and these failed on the last iteration, then it could lead to a use after free bug. Fixes: cd6851f30386 ("smc: remote memory buffers (RMBs)") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/aoa/aoa.h')