Skip to content

Commit 7ed214a

Browse files
committed
Merge tag 'char-misc-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver patches from Greg Kroah-Hartman: "Here's the big char/misc driver patches for 3.9-rc1. Nothing major here, just lots of different driver updates (mei, hyperv, ipack, extcon, vmci, etc.). All of these have been in the linux-next tree for a while." * tag 'char-misc-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (209 commits) w1: w1_therm: Add force-pullup option for "broken" sensors w1: ds2482: Added 1-Wire pull-up support to the driver vme: add missing put_device() after device_register() fails extcon: max8997: Use workqueue to check cable state after completing boot of platform extcon: max8997: Set default UART/USB path on probe extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type extcon: max8997: Set default of ADC debounce time during initialization extcon: max8997: Remove duplicate code related to set H/W line path extcon: max8997: Move defined constant to header file extcon: max77693: Make max77693_extcon_cable static extcon: max8997: Remove unreachable code extcon: max8997: Make max8997_extcon_cable static extcon: max77693: Remove unnecessary goto statement to improve readability extcon: max77693: Convert to devm_input_allocate_device() extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style CREDITS: update email and address of Harald Hoyer extcon: arizona: Use MICDET for final microphone identification extcon: arizona: Always take the first HPDET reading as the final one extcon: arizona: Clear _trig_sts bits after jack detection extcon: arizona: Don't HPDET magic when headphones are enabled ...
2 parents 21eaab6 + 29e5507 commit 7ed214a

107 files changed

Lines changed: 20749 additions & 4115 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CREDITS‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,12 +1572,12 @@ S: Wantage, New Jersey 07461
15721572
S: USA
15731573

15741574
N: Harald Hoyer
1575-
E: harald.hoyer@parzelle.de
1576-
W: http://parzelle.de/
1575+
E: harald@redhat.com
1576+
W: http://www.harald-hoyer.de
15771577
D: ip_masq_quake
15781578
D: md boot support
1579-
S: Hohe Strasse 30
1580-
S: D-70176 Stuttgart
1579+
S: Am Strand 5
1580+
S: D-19063 Schwerin
15811581
S: Germany
15821582

15831583
N: Jan Hubicka

‎Documentation/DocBook/uio-howto.tmpl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ int main()
984984
return errno;
985985
}
986986
configfd = open("/sys/class/uio/uio0/device/config", O_RDWR);
987-
if (uiofd < 0) {
987+
if (configfd < 0) {
988988
perror("config open:");
989989
return errno;
990990
}

‎Documentation/w1/slaves/w1_therm‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,16 @@ currently supported. The driver also doesn't support reduced
3434
precision (which would also reduce the conversion time).
3535

3636
The module parameter strong_pullup can be set to 0 to disable the
37-
strong pullup or 1 to enable. If enabled the 5V strong pullup will be
38-
enabled when the conversion is taking place provided the master driver
39-
must support the strong pullup (or it falls back to a pullup
37+
strong pullup, 1 to enable autodetection or 2 to force strong pullup.
38+
In case of autodetection, the driver will use the "READ POWER SUPPLY"
39+
command to check if there are pariste powered devices on the bus.
40+
If so, it will activate the master's strong pullup.
41+
In case the detection of parasite devices using this command fails
42+
(seems to be the case with some DS18S20) the strong pullup can
43+
be force-enabled.
44+
If the strong pullup is enabled, the master's strong pullup will be
45+
driven when the conversion is taking place, provided the master driver
46+
does support the strong pullup (or it falls back to a pullup
4047
resistor). The DS18b20 temperature sensor specification lists a
4148
maximum current draw of 1.5mA and that a 5k pullup resistor is not
4249
sufficient. The strong pullup is designed to provide the additional

‎MAINTAINERS‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5405,6 +5405,13 @@ S: Maintained
54055405
F: Documentation/scsi/NinjaSCSI.txt
54065406
F: drivers/scsi/nsp32*
54075407

5408+
NTB DRIVER
5409+
M: Jon Mason <jon.mason@intel.com>
5410+
S: Supported
5411+
F: drivers/ntb/
5412+
F: drivers/net/ntb_netdev.c
5413+
F: include/linux/ntb.h
5414+
54085415
NTFS FILESYSTEM
54095416
M: Anton Altaparmakov <anton@tuxera.com>
54105417
L: linux-ntfs-dev@lists.sourceforge.net

‎drivers/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ source "drivers/memory/Kconfig"
152152

153153
source "drivers/iio/Kconfig"
154154

155+
source "drivers/ntb/Kconfig"
156+
155157
source "drivers/vme/Kconfig"
156158

157159
source "drivers/pwm/Kconfig"

‎drivers/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,4 @@ obj-$(CONFIG_MEMORY) += memory/
147147
obj-$(CONFIG_IIO) += iio/
148148
obj-$(CONFIG_VME_BUS) += vme/
149149
obj-$(CONFIG_IPACK_BUS) += ipack/
150+
obj-$(CONFIG_NTB) += ntb/

‎drivers/char/hw_random/exynos-rng.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static int exynos_rng_runtime_resume(struct device *dev)
163163
}
164164

165165

166-
UNIVERSAL_DEV_PM_OPS(exynos_rng_pm_ops, exynos_rng_runtime_suspend,
166+
static UNIVERSAL_DEV_PM_OPS(exynos_rng_pm_ops, exynos_rng_runtime_suspend,
167167
exynos_rng_runtime_resume, NULL);
168168

169169
static struct platform_driver exynos_rng_driver = {

‎drivers/char/mem.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ static ssize_t read_kmem(struct file *file, char __user *buf,
399399
{
400400
unsigned long p = *ppos;
401401
ssize_t low_count, read, sz;
402-
char * kbuf; /* k-addr because vread() takes vmlist_lock rwlock */
402+
char *kbuf; /* k-addr because vread() takes vmlist_lock rwlock */
403403
int err = 0;
404404

405405
read = 0;
@@ -527,7 +527,7 @@ static ssize_t write_kmem(struct file *file, const char __user *buf,
527527
unsigned long p = *ppos;
528528
ssize_t wrote = 0;
529529
ssize_t virtr = 0;
530-
char * kbuf; /* k-addr because vwrite() takes vmlist_lock rwlock */
530+
char *kbuf; /* k-addr because vwrite() takes vmlist_lock rwlock */
531531
int err = 0;
532532

533533
if (p < (unsigned long) high_memory) {
@@ -595,7 +595,7 @@ static ssize_t write_port(struct file *file, const char __user *buf,
595595
size_t count, loff_t *ppos)
596596
{
597597
unsigned long i = *ppos;
598-
const char __user * tmp = buf;
598+
const char __user *tmp = buf;
599599

600600
if (!access_ok(VERIFY_READ, buf, count))
601601
return -EFAULT;
@@ -729,7 +729,7 @@ static loff_t memory_lseek(struct file *file, loff_t offset, int orig)
729729
return ret;
730730
}
731731

732-
static int open_port(struct inode * inode, struct file * filp)
732+
static int open_port(struct inode *inode, struct file *filp)
733733
{
734734
return capable(CAP_SYS_RAWIO) ? 0 : -EPERM;
735735
}
@@ -898,7 +898,7 @@ static int __init chr_dev_init(void)
898898
continue;
899899

900900
/*
901-
* Create /dev/port?
901+
* Create /dev/port?
902902
*/
903903
if ((minor == DEVPORT_MINOR) && !arch_has_dev_port())
904904
continue;

0 commit comments

Comments
 (0)