)]}'
{
  "commit": "4f9cd8bf947580bc87d947956aff9e28766405ce",
  "tree": "bdd63b1889c1df94ae072904b18eb21d4d300b3f",
  "parents": [
    "fafc3d8048d9e26b708323805868d127eeecc12e"
  ],
  "author": {
    "name": "Rick Altherr",
    "email": "rick@oxidecomputer.com",
    "time": "Mon Dec 13 17:10:00 2021 -0800"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Thu Jan 05 16:15:22 2023 +0000"
  },
  "message": "dediprog: wait for spi bulk read xfers to finish\n\ndediprog_bulk_read_poll()\u0027s finish argument allows it to be used in two\ndistinct cases: where dediprog_bulk_read_poll will be called as part of\na loop (finish\u003d0) and where dediprog_bulk_read_poll should wait for all\noutstanding transfers to finish (finish\u003d1).  In both cases,\ndediprog_bulk_read_poll() calls libusb to process events with a 10\nsecond timeout.\n\nAfter dediprog_spi_bulk_read() has queued the last transfers, it calls\ndediprog_bulk_read_poll() with finish\u003d0 when it should be finish\u003d1.\nfinish\u003d0 just happens to work because frequently the transfers finish in\nthe 10 second timeout.\n\nSigned-off-by: Rick Altherr \u003crick@oxidecomputer.com\u003e\nChange-Id: If7cb541742c8620358c8e04275d8316131b2d1ab\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/60087\nOriginal-Reviewed-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\nOriginal-Reviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71441\nReviewed-by: Rick Altherr \u003ckc8apf@kc8apf.net\u003e\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7699d6d912a4eb0d8b28794af22d3fd3ff71fe2b",
      "old_mode": 33188,
      "old_path": "dediprog.c",
      "new_id": "2d266d46320b99a3c756abba61c95caaea300f35",
      "new_mode": 33188,
      "new_path": "dediprog.c"
    }
  ]
}
