)]}'
{
  "commit": "c3de8a8a5a28603f8d318245992dbcda2e88a007",
  "tree": "3486d10cb537fd62cc5940b821944dc6c7b513f1",
  "parents": [
    "e4b2a96aeb2b3dfee8d19d0335c6151d4cca4631"
  ],
  "author": {
    "name": "Robert Jarzmik",
    "email": "robert.jarzmik@free.fr",
    "time": "Sat Nov 19 16:02:57 2011 +0100"
  },
  "committer": {
    "name": "David Woodhouse",
    "email": "David.Woodhouse@intel.com",
    "time": "Mon Jan 09 18:07:29 2012 +0000"
  },
  "message": "mtd: docg3: add fast mode\n\nDocg3 chips can work in 3 modes : normal MLC mode, fast\nmode and reliable mode. Normally, as docg3 is a MLC chip, it\nshould be configured to work in normal mode.\n\nIn both normal mode, each page is distinct. This\nmeans that writing to page 12 of blocks 14,15 writes only to\nthat page, and reading from page 12 of blocks 14,15 reads\nonly from that page.\n\nIn reliable and fast modes, pages are coupled by pairs, and\nare clones one of each other. This means that the available\ncapacity of the chip is halved. Pages are coupled in each\nblock, and page of index 2*n contains the same data as page\n2*n+1 of the same block.\n\nIn fast mode, the reads occur a bit faster, but are a bit\nless reliable that in normal mode.\n\nWhen reading from page 2*n, the chip reads bytes from both\npage 2*n and page 2*n+1, makes a logical and for each byte,\nand returns the result. As programming a page means\n\"clearing bits\", even if a bit was not cleared on one page\nbecause the flash is worn out, the other page has the bit\ncleared, and the result of the \"AND\" gives a correct result.\n\nWhen writing to page 2*n, the chip writes data to both page\n2*n and page 2*n+1.\n\nSigned-off-by: Robert Jarzmik \u003crobert.jarzmik@free.fr\u003e\nReviewed-by: Ivan Djelic \u003civan.djelic@parrot.com\u003e\nReviewed-by: Mike Dunn \u003cmikedunn@newsguy.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d94c759d3ea7d28923ee233cbe0435988eb5b74f",
      "old_mode": 33188,
      "old_path": "drivers/mtd/devices/docg3.c",
      "new_id": "35df3778f8fdfd2a14af3e594e1f739dc32d9045",
      "new_mode": 33188,
      "new_path": "drivers/mtd/devices/docg3.c"
    },
    {
      "type": "modify",
      "old_id": "cd70b181f797950398656661d0ab6296194670f5",
      "old_mode": 33188,
      "old_path": "drivers/mtd/devices/docg3.h",
      "new_id": "07182f9d484db9461c99074f9cbb1f746beac70a",
      "new_mode": 33188,
      "new_path": "drivers/mtd/devices/docg3.h"
    }
  ]
}
