/* * OV9650/OV9652 camera sensors driver * * Copyright (C) 2013 Sylwester Nawrocki * * 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. */ #ifndef OV9650_H_ #define OV9650_H_ /** * struct ov9650_platform_data - ov9650 driver platform data * @mclk_frequency: the sensor's master clock frequency in Hz * @gpio_pwdn: number of a GPIO connected to OV965X PWDN pin * @gpio_reset: number of a GPIO connected to OV965X RESET pin * * If any of @gpio_pwdn or @gpio_reset are unused then they should be * set to a negative value. @mclk_frequency must always be specified. */ struct ov9650_platform_data { unsigned long mclk_frequency; int gpio_pwdn; int gpio_reset; }; #endif /* OV9650_H_ */ it/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/freecom.c
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo.ribalda@gmail.com>2017-02-02 20:15:16 +0100
committerWolfram Sang <wsa@the-dreams.de>2017-02-09 17:13:01 +0100
commitbbb27fc33d44e7b8d96369810654df4ee1837566 (patch)
treeb769e165ad52c0021054f1a048b62bd7e4fbec47 /drivers/usb/storage/freecom.c
parentf43128c75202f29ee71aa83e6c320a911137c189 (diff)
i2c: piix4: Request the SMBUS semaphore inside the mutex
SMBSLVCNT must be protected with the piix4_mutex_sb800 in order to avoid multiple buses accessing to the semaphore at the same time. Fixes: 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC") Reported-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/usb/storage/freecom.c')