]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'staging/staging-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 05:16:53 +0000 (15:16 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 05:16:53 +0000 (15:16 +1000)
Conflicts:
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/android/binder.c
drivers/staging/ipack/devices/ipoctal.c
drivers/staging/omap-thermal/omap-thermal-common.c
drivers/staging/serqt_usb2/serqt_usb2.c

18 files changed:
1  2 
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/power/Kconfig
drivers/power/Makefile
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/android/binder.c
drivers/staging/ccg/Kconfig
drivers/staging/ccg/ccg.c
drivers/staging/et131x/et131x.c
drivers/staging/ipack/devices/ipoctal.c
drivers/staging/omap-thermal/omap-thermal-common.c
drivers/staging/omapdrm/omap_drv.c
drivers/staging/omapdrm/omap_gem.c
drivers/staging/serqt_usb2/serqt_usb2.c
drivers/staging/usbip/usbip_common.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 21114512fcb2e9a755e76d772a57761f6a0bcdc6,0f51a158ef704cbc7a2a6badaf95cbe2f8c1d809..449f04af483ed9dee1ca529ef36d28f2667d6024
@@@ -136,6 -134,12 +134,14 @@@ source "drivers/staging/csr/Kconfig
  
  source "drivers/staging/omap-thermal/Kconfig"
  
 +source "drivers/staging/dgrp/Kconfig"
 +
+ source "drivers/staging/ramster/Kconfig"
+ source "drivers/staging/silicom/Kconfig"
+ source "drivers/staging/ced1401/Kconfig"
+ source "drivers/staging/imx-drm/Kconfig"
  endif # STAGING
index 17c43c4cacaaa5779c0d64cd021f461f88660d61,f4b2bc41f1d1a0f34394824758c78f4fba224ef2..a19abe5381bf5c6e07aa4198ad481082b01a113a
@@@ -60,4 -59,7 +59,8 @@@ obj-$(CONFIG_USB_G_CCG)               += ccg
  obj-$(CONFIG_WIMAX_GDM72XX)   += gdm72xx/
  obj-$(CONFIG_CSR_WIFI)                += csr/
  obj-$(CONFIG_OMAP_BANDGAP)    += omap-thermal/
 +obj-$(CONFIG_DGRP)            += dgrp/
+ obj-$(CONFIG_ZCACHE2)         += ramster/
+ obj-$(CONFIG_NET_VENDOR_SILICOM)      += silicom/
+ obj-$(CONFIG_CED1401)         += ced1401/
+ obj-$(CONFIG_DRM_IMX)         += imx-drm/
index f71d624995eaa78bde3e86a9e0a185533810dcd8,a807129c7b5a93979e8dc52de5d167d98a327940..2a4109281acc33ab0264c4f400100800c29f8da8
@@@ -362,9 -362,14 +362,9 @@@ struct binder_transaction 
  static void
  binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer);
  
- int task_get_unused_fd_flags(struct binder_proc *proc, int flags)
 -/*
 - * copied from get_unused_fd_flags
 - */
+ static int task_get_unused_fd_flags(struct binder_proc *proc, int flags)
  {
        struct files_struct *files = proc->files;
 -      int fd, error;
 -      struct fdtable *fdt;
        unsigned long rlim_cur;
        unsigned long irqs;
  
Simple merge
Simple merge
Simple merge
index a68d981c259fe6eb517d85df0667f7d9cad7c96a,2cdbf280cdab340e597e98e3148f90f5bb7e0cfe..d751edfda8397c1c1d5791b34b7a38d0009d7866
@@@ -490,19 -429,26 +429,26 @@@ static int ipoctal_inst_slot(struct ipo
        ipoctal->tty_drv = tty;
  
        for (i = 0; i < NR_CHANNELS; i++) {
-               tty_port_init(&ipoctal->tty_port[i]);
-               tty_port_alloc_xmit_buf(&ipoctal->tty_port[i]);
-               ipoctal->tty_port[i].ops = &ipoctal_tty_port_ops;
-               ipoctal_reset_stats(&ipoctal->chan_stats[i]);
-               ipoctal->nb_bytes[i] = 0;
-               init_waitqueue_head(&ipoctal->queue[i]);
-               spin_lock_init(&ipoctal->lock[i]);
-               ipoctal->pointer_read[i] = 0;
-               ipoctal->pointer_write[i] = 0;
-               ipoctal->nb_bytes[i] = 0;
-               tty_port_register_device(&ipoctal->tty_port[i], tty, i, NULL);
+               struct device *tty_dev;
+               channel = &ipoctal->channel[i];
+               tty_port_init(&channel->tty_port);
+               tty_port_alloc_xmit_buf(&channel->tty_port);
+               channel->tty_port.ops = &ipoctal_tty_port_ops;
+               ipoctal_reset_stats(&channel->stats);
+               channel->nb_bytes = 0;
+               init_waitqueue_head(&channel->queue);
+               spin_lock_init(&channel->lock);
+               channel->pointer_read = 0;
+               channel->pointer_write = 0;
 -              tty_dev = tty_register_device(tty, i, NULL);
++              tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL);
+               if (IS_ERR(tty_dev)) {
+                       dev_err(&ipoctal->dev->dev, "Failed to register tty device.\n");
+                       continue;
+               }
+               dev_set_drvdata(tty_dev, channel);
  
                /*
                 * Enable again the RX. TX will be enabled when
@@@ -613,23 -540,17 +540,17 @@@ static void ipoctal_set_termios(struct 
        unsigned char mr1 = 0;
        unsigned char mr2 = 0;
        unsigned char csr = 0;
-       unsigned int channel = tty->index;
-       struct ipoctal *ipoctal = tty->driver_data;
+       struct ipoctal_channel *channel = tty->driver_data;
        speed_t baud;
  
 -      cflag = tty->termios->c_cflag;
 +      cflag = tty->termios.c_cflag;
  
        /* Disable and reset everything before change the setup */
-       ipoctal_write_io_reg(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
-                            CR_DISABLE_RX | CR_DISABLE_TX);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
-                            CR_CMD_RESET_RX);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
-                            CR_CMD_RESET_TX);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
-                            CR_CMD_RESET_ERR_STATUS);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
-                            CR_CMD_RESET_MR);
+       iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr);
+       iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr);
+       iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr);
+       iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr);
+       iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr);
  
        /* Set Bits per chars */
        switch (cflag & CSIZE) {
Simple merge
Simple merge
Simple merge