Merge tag 'char-misc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver updates from Greg KH:
"Here is the big char/misc driver update for 4.14-rc1.
Lots of different stuff in here, it's been an active development cycle
for some reason. Highlights are:
- updated binder driver, this brings binder up to date with what
shipped in the Android O release, plus some more changes that
happened since then that are in the Android development trees.
- coresight updates and fixes
- mux driver file renames to be a bit "nicer"
- intel_th driver updates
- normal set of hyper-v updates and changes
- small fpga subsystem and driver updates
- lots of const code changes all over the driver trees
- extcon driver updates
- fmc driver subsystem upadates
- w1 subsystem minor reworks and new features and drivers added
- spmi driver updates
Plus a smattering of other minor driver updates and fixes.
All of these have been in linux-next with no reported issues for a
while"
* tag 'char-misc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (244 commits)
ANDROID: binder: don't queue async transactions to thread.
ANDROID: binder: don't enqueue death notifications to thread todo.
ANDROID: binder: Don't BUG_ON(!spin_is_locked()).
ANDROID: binder: Add BINDER_GET_NODE_DEBUG_INFO ioctl
ANDROID: binder: push new transactions to waiting threads.
ANDROID: binder: remove proc waitqueue
android: binder: Add page usage in binder stats
android: binder: fixup crash introduced by moving buffer hdr
drivers: w1: add hwmon temp support for w1_therm
drivers: w1: refactor w1_slave_show to make the temp reading functionality separate
drivers: w1: add hwmon support structures
eeprom: idt_89hpesx: Support both ACPI and OF probing
mcb: Fix an error handling path in 'chameleon_parse_cells()'
MCB: add support for SC31 to mcb-lpc
mux: make device_type const
char: virtio: constify attribute_group structures.
Documentation/ABI: document the nvmem sysfs files
lkdtm: fix spelling mistake: "incremeted" -> "incremented"
perf: cs-etm: Fix ETMv4 CONFIGR entry in perf.data file
nvmem: include linux/err.h from header
...
This commit is contained in:
@@ -44,7 +44,7 @@ static struct daisydev {
|
||||
} *topology = NULL;
|
||||
static DEFINE_SPINLOCK(topology_lock);
|
||||
|
||||
static int numdevs = 0;
|
||||
static int numdevs;
|
||||
|
||||
/* Forward-declaration of lower-level functions. */
|
||||
static int mux_present(struct parport *port);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <asm/irq.h>
|
||||
#include <asm/atariints.h>
|
||||
|
||||
static struct parport *this_port = NULL;
|
||||
static struct parport *this_port;
|
||||
|
||||
static unsigned char
|
||||
parport_atari_read_data(struct parport *p)
|
||||
|
||||
@@ -358,8 +358,7 @@ static int parport_ax88796_probe(struct platform_device *pdev)
|
||||
exit_unmap:
|
||||
iounmap(dd->base);
|
||||
exit_res:
|
||||
release_resource(dd->io);
|
||||
kfree(dd->io);
|
||||
release_mem_region(dd->io->start, size);
|
||||
exit_mem:
|
||||
kfree(dd);
|
||||
return ret;
|
||||
@@ -373,8 +372,7 @@ static int parport_ax88796_remove(struct platform_device *pdev)
|
||||
free_irq(p->irq, p);
|
||||
parport_remove_port(p);
|
||||
iounmap(dd->base);
|
||||
release_resource(dd->io);
|
||||
kfree(dd->io);
|
||||
release_mem_region(dd->io->start, resource_size(dd->io));
|
||||
kfree(dd);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -138,7 +138,7 @@ static unsigned int features = ~0U;
|
||||
static bool verbose_probing = DEFAULT_VERBOSE_PROBING;
|
||||
|
||||
/* We do not support more than one port. */
|
||||
static struct parport *this_port = NULL;
|
||||
static struct parport *this_port;
|
||||
|
||||
/* Timing constants for FIFO modes. */
|
||||
#define FIFO_NFAULT_TIMEOUT 100 /* milliseconds */
|
||||
|
||||
@@ -174,7 +174,7 @@ DPRINTK(KERN_DEBUG "read_status %02x\n", status);
|
||||
return status;
|
||||
}
|
||||
|
||||
static int use_cnt = 0;
|
||||
static int use_cnt;
|
||||
|
||||
static irqreturn_t mfc3_interrupt(int irq, void *dev_id)
|
||||
{
|
||||
|
||||
@@ -1083,9 +1083,9 @@ static void show_parconfig_winbond(int io, int key)
|
||||
printk(KERN_INFO "Winbond LPT Config: active=%s, io=0x%02x%02x irq=%d, ",
|
||||
(cr30 & 0x01) ? "yes" : "no", cr60, cr61, cr70 & 0x0f);
|
||||
if ((cr74 & 0x07) > 3)
|
||||
printk("dma=none\n");
|
||||
pr_cont("dma=none\n");
|
||||
else
|
||||
printk("dma=%d\n", cr74 & 0x07);
|
||||
pr_cont("dma=%d\n", cr74 & 0x07);
|
||||
printk(KERN_INFO
|
||||
"Winbond LPT Config: irqtype=%s, ECP fifo threshold=%d\n",
|
||||
irqtypes[crf0>>7], (crf0>>3)&0x0f);
|
||||
@@ -1685,14 +1685,14 @@ static int parport_ECP_supported(struct parport *pb)
|
||||
pb->base, config, configb);
|
||||
printk(KERN_DEBUG "0x%lx: ECP settings irq=", pb->base);
|
||||
if ((configb >> 3) & 0x07)
|
||||
printk("%d", intrline[(configb >> 3) & 0x07]);
|
||||
pr_cont("%d", intrline[(configb >> 3) & 0x07]);
|
||||
else
|
||||
printk("<none or set by other means>");
|
||||
printk(" dma=");
|
||||
pr_cont("<none or set by other means>");
|
||||
pr_cont(" dma=");
|
||||
if ((configb & 0x03) == 0x00)
|
||||
printk("<none or set by other means>\n");
|
||||
pr_cont("<none or set by other means>\n");
|
||||
else
|
||||
printk("%d\n", configb & 0x07);
|
||||
pr_cont("%d\n", configb & 0x07);
|
||||
}
|
||||
|
||||
/* Go back to mode 000 */
|
||||
@@ -2399,8 +2399,8 @@ static int sio_ite_8872_probe(struct pci_dev *pdev, int autoirq, int autodma,
|
||||
"parport_pc: ITE 8872 parallel port: io=0x%X",
|
||||
ite8872_lpt);
|
||||
if (irq != PARPORT_IRQ_NONE)
|
||||
printk(", irq=%d", irq);
|
||||
printk("\n");
|
||||
pr_cont(", irq=%d", irq);
|
||||
pr_cont("\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -2581,10 +2581,10 @@ static int sio_via_probe(struct pci_dev *pdev, int autoirq, int autodma,
|
||||
printk(KERN_INFO
|
||||
"parport_pc: VIA parallel port: io=0x%X", port1);
|
||||
if (irq != PARPORT_IRQ_NONE)
|
||||
printk(", irq=%d", irq);
|
||||
pr_cont(", irq=%d", irq);
|
||||
if (dma != PARPORT_DMA_NONE)
|
||||
printk(", dma=%d", dma);
|
||||
printk("\n");
|
||||
pr_cont(", dma=%d", dma);
|
||||
pr_cont("\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user