)]}'
{
  "commit": "6bb0e3a59a089e23eecc0af3b6f6012b2a9affba",
  "tree": "06790c1e5a3505b9d790506710d59d88c780f819",
  "parents": [
    "15648f154a8faea97cbe931e189cf0a57fd066f4"
  ],
  "author": {
    "name": "Haavard Skinnemoen",
    "email": "haavard.skinnemoen@atmel.com",
    "time": "Wed Jul 16 21:52:36 2008 +0100"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Sun Jul 20 17:12:34 2008 -0700"
  },
  "message": "Subject: [PATCH 1/2] serial: Add flush_buffer() operation to uart_ops\n\nSerial drivers using DMA (like the atmel_serial driver) tend to get very\nconfused when the xmit buffer is flushed and nobody told them.  They\nalso tend to spew a lot of garbage since the DMA engine keeps running\nafter the buffer is flushed and possibly refilled with unrelated data.\n\nThis patch adds a new flush_buffer operation to the uart_ops struct,\nalong with a call to it from uart_flush_buffer() right after the xmit\nbuffer has been cleared. The driver can implement this in order to\nsyncronize its internal DMA state with the xmit buffer when the buffer\nis flushed.\n\nSigned-off-by: Haavard Skinnemoen \u003chaavard.skinnemoen@atmel.com\u003e\nAcked-by: Alan Cox \u003calan@redhat.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "88ad615dd338d75e2b282422c8f2d6f7f3af80b7",
      "old_mode": 33188,
      "old_path": "Documentation/serial/driver",
      "new_id": "77ba0afbe4db2c227650441af43ab3c57f2e5a6f",
      "new_mode": 33188,
      "new_path": "Documentation/serial/driver"
    },
    {
      "type": "modify",
      "old_id": "42d2e108b67968406ebc1da8ac8b316d532f578a",
      "old_mode": 33188,
      "old_path": "drivers/serial/serial_core.c",
      "new_id": "9884bc9eecb1f322648cf621ad6c51cd04bbe3da",
      "new_mode": 33188,
      "new_path": "drivers/serial/serial_core.c"
    },
    {
      "type": "modify",
      "old_id": "d8f31de632c5cb73e3d779086543ed100d8a736d",
      "old_mode": 33188,
      "old_path": "include/linux/serial_core.h",
      "new_id": "1d2faa6592aede261a4cdaf74c98959d4b722191",
      "new_mode": 33188,
      "new_path": "include/linux/serial_core.h"
    }
  ]
}
