1. 21 5月, 2013 1 次提交
  2. 16 4月, 2013 1 次提交
  3. 19 3月, 2013 2 次提交
  4. 18 1月, 2013 1 次提交
  5. 16 1月, 2013 4 次提交
  6. 22 11月, 2012 1 次提交
  7. 16 11月, 2012 1 次提交
    • J
      TTY: call tty_port_destroy in the rest of drivers · 191c5f10
      Jiri Slaby 提交于
      After commit "TTY: move tty buffers to tty_port", the tty buffers are
      not freed in some drivers. This is because tty_port_destructor is not
      called whenever a tty_port is freed. This was an assumption I counted
      with but was unfortunately untrue. So fix the drivers to fulfil this
      assumption.
      
      To be sure, the TTY buffers (and later some stuff) are gone along with
      the tty_port, we have to call tty_port_destroy at tear-down places.
      This is mostly where the structure containing a tty_port is freed.
      This patch does exactly that -- put tty_port_destroy at those places.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      191c5f10
  8. 14 8月, 2012 1 次提交
    • J
      TTY: use tty_port_register_device · 734cc178
      Jiri Slaby 提交于
      Currently we have no way to assign tty->port while performing tty
      installation. There are two ways to provide the link tty_struct =>
      tty_port. Either by calling tty_port_install from tty->ops->install or
      tty_port_register_device called instead of tty_register_device when
      the device is being set up after connected.
      
      In this patch we modify most of the drivers to do the latter. When the
      drivers use tty_register_device and we have tty_port already, we
      switch to tty_port_register_device. So we have the tty_struct =>
      tty_port link for free for those.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      734cc178
  9. 17 7月, 2012 1 次提交
  10. 09 3月, 2012 2 次提交
  11. 13 1月, 2012 1 次提交
  12. 27 7月, 2011 1 次提交
  13. 20 4月, 2011 1 次提交
    • J
      TTY: rocket, remove unused variables · d65c57f4
      Jiri Slaby 提交于
      drivers/tty/rocket.c:1393:2: warning: Value stored to 'cp' is never read
              cp = &info->channel;
              ^    ~~~~~~~~~~~~~~
      drivers/tty/rocket.c:1412:2: warning: Value stored to 'cp' is never read
              cp = &info->channel;
              ^    ~~~~~~~~~~~~~~
      drivers/tty/rocket.c:1730:2: warning: Value stored to 'cp' is never read
              cp = &info->channel;
              ^    ~~~~~~~~~~~~~~
      drivers/tty/rocket.c:1825:3: warning: Value stored to 'str' is never read
                      str = "8";
                      ^     ~~~
      [many 'str' warnings stripped]
      drivers/tty/rocket.c:2037:3: warning: Value stored to 'board_type' is never read
                      board_type = "RocketModem";
                      ^            ~~~~~~~~~~~~~
      [some 'board_type' warnings stripped]
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d65c57f4
  14. 31 3月, 2011 1 次提交
  15. 23 2月, 2011 1 次提交
  16. 18 2月, 2011 3 次提交
  17. 11 12月, 2010 1 次提交
  18. 28 10月, 2010 1 次提交
  19. 24 8月, 2010 1 次提交
  20. 11 8月, 2010 1 次提交
    • A
      rocket: kill BKL · 417b6e0e
      Alan Cox 提交于
      We can use the port mutex for this and also for the hangup path so removing
      the problematic use of the hangup mutex in this driver. Fix up the locking
      on the various port flags while we are at it.
      
      Ultimately this driver needs to be using tty_port_ helpers which would sort
      this out far better.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      417b6e0e
  21. 13 7月, 2009 1 次提交
  22. 11 6月, 2009 2 次提交
  23. 03 1月, 2009 8 次提交
  24. 23 7月, 2008 1 次提交
  25. 21 7月, 2008 1 次提交