1. 27 8月, 2011 3 次提交
  2. 02 7月, 2011 2 次提交
    • M
      serial: mrst_max3110: initialize waitqueue earlier · 9c00c6e7
      Mika Westerberg 提交于
      The driver went to initialize its waitqueue at the start of the main processing
      thread. However, it is possible that this thread is not scheduled on a CPU
      before the write function is called which leads to a following error:
      
       BUG: spinlock bad magic on CPU#1, swapper/1
        lock: f5f3ebdc, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
       Pid: 1, comm: swapper Not tainted 3.0.0-rc2+ #67
       Call Trace:
        [<c1289663>] spin_bug+0xa3/0xf0
        [<c12897ad>] do_raw_spin_lock+0x7d/0x150
        [<c1490006>] ? init_idle+0x8d/0x20c
        [<c14963de>] _raw_spin_lock_irqsave+0x4e/0x60
        [<c102f2bb>] ? __wake_up+0x1b/0x50
        [<c102f2bb>] __wake_up+0x1b/0x50
        [<c12d03bc>] ? uart_console_write+0x4c/0x60
        [<c12d36c0>] ? serial_m3110_enable_ms+0x10/0x10
        [<c12d3715>] serial_m3110_con_write+0x55/0x60
        [<c1041575>] __call_console_drivers+0x75/0x90
        [<c10415d9>] _call_console_drivers+0x49/0x80
        [<c1041baa>] console_unlock+0xca/0x1f0
        [<c10420ef>] vprintk+0x18f/0x4f0
        [<c10787cb>] ? trace_hardirqs_on+0xb/0x10
        [<c14928a3>] printk+0x18/0x1a
        [<c1042730>] register_console+0x2e0/0x350
        [<c12d098e>] uart_add_one_port+0x33e/0x3d0
        [<c10787cb>] ? trace_hardirqs_on+0xb/0x10
        [<c103e10b>] ? try_to_wake_up+0x18b/0x250
        [<c1485ba6>] serial_m3110_probe+0x1c2/0x1df
        [<c12d3d20>] ? serial_m3110_suspend+0x40/0x40
        [<c1303db7>] spi_drv_probe+0x17/0x20
        ...
      
      We fix this by initializing the waitqueue before the main thread is created.
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9c00c6e7
    • W
      mrst_max3110: Change max missing message priority. · f2934c3c
      William Douglas 提交于
      Change print message to notice instead of error to clean up
      non critcal messages showing on startup. The MAX3111 not being present
      is a normal path for end user systems.
      Signed-off-by: NWilliam Douglas <william.douglas@intel.com>
      [rebased on 3.0, switched to dev_dbg()]
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f2934c3c
  3. 23 6月, 2011 2 次提交
  4. 10 4月, 2011 1 次提交
  5. 31 3月, 2011 1 次提交
  6. 04 2月, 2011 1 次提交
  7. 14 1月, 2011 1 次提交
    • G
      tty: move drivers/serial/ to drivers/tty/serial/ · ab4382d2
      Greg Kroah-Hartman 提交于
      The serial drivers are really just tty drivers, so move them to
      drivers/tty/ to make things a bit neater overall.
      
      This is part of the tty/serial driver movement proceedure as proposed by
      Arnd Bergmann and approved by everyone involved a number of months ago.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Rogier Wolff <R.E.Wolff@bitwizard.nl>
      Cc: Michael H. Warfield <mhw@wittsend.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ab4382d2
  8. 23 10月, 2010 2 次提交
  9. 02 10月, 2010 1 次提交
  10. 11 8月, 2010 4 次提交