)]}'
{
  "commit": "336cee42dd52824e360ab419eab4e8888eb054ec",
  "tree": "893babf1f6804b35a944ac413d16f7107d922e14",
  "parents": [
    "231443665882a02214c3748b9f86615a3ce9e5c2"
  ],
  "author": {
    "name": "Jason Wessel",
    "email": "jason.wessel@windriver.com",
    "time": "Mon Mar 08 21:50:11 2010 -0600"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Fri Mar 19 07:17:57 2010 -0700"
  },
  "message": "tty_port,usb-console: Fix usb serial console open/close regression\n\nCommit e1108a63e10d344284011cccc06328b2cd3e5da3 (\"usb_serial: Use the\nshutdown() operation\") breaks the ability to use a usb console\nstarting in 2.6.33.  This was observed when using\nconsole\u003dttyUSB0,115200 as a boot argument with an FTDI device.  The\nerror is:\n\nftdi_sio ttyUSB0: ftdi_submit_read_urb - failed submitting read urb, error -22\n\nThe handling of the ASYNCB_INITIALIZED changed in 2.6.32 such that in\ntty_port_shutdown() it always clears the flag if it is set.  The fix\nis to add a variable to the tty_port struct to indicate when the tty\nport is a console.\n\nCC: Alan Cox \u003calan@linux.intel.com\u003e\nCC: Alan Stern \u003cstern@rowland.harvard.edu\u003e\nCC: Oliver Neukum \u003coliver@neukum.org\u003e\nCC: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Jason Wessel \u003cjason.wessel@windriver.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "be492dd664370a787b6da7a2b294b3bf53451de6",
      "old_mode": 33188,
      "old_path": "drivers/char/tty_port.c",
      "new_id": "a3bd1d0b66cfe3fbba3bf9592c0bfbab26bb88a3",
      "new_mode": 33188,
      "new_path": "drivers/char/tty_port.c"
    },
    {
      "type": "modify",
      "old_id": "b22ac3258523af80e46a63fd0660117e51232553",
      "old_mode": 33188,
      "old_path": "drivers/usb/serial/console.c",
      "new_id": "f347da2ef00a04c6c8a875e54657c1eb5c87edb4",
      "new_mode": 33188,
      "new_path": "drivers/usb/serial/console.c"
    },
    {
      "type": "modify",
      "old_id": "593228a520e1e165bf3092c117c01a8aabbda0dd",
      "old_mode": 33188,
      "old_path": "include/linux/tty.h",
      "new_id": "4409967db0c45e8e0a5568b5596e4b42bffe659c",
      "new_mode": 33188,
      "new_path": "include/linux/tty.h"
    }
  ]
}
