)]}'
{
  "commit": "7d4aa092996303e04cfd32ff2dc58ea3cb36d114",
  "tree": "6ad51fe98fad973ac9581e8a476aec413af86407",
  "parents": [
    "f843fdcac054800774db4069418f5ba7b2cf456e"
  ],
  "author": {
    "name": "Yasushi SHOJI",
    "email": "yasushi.shoji@gmail.com",
    "time": "Fri Nov 25 00:25:03 2022 +0900"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Mon Dec 19 12:24:16 2022 +0100"
  },
  "message": "can: mcba_usb: Fix termination command argument\n\n[ Upstream commit 1a8e3bd25f1e789c8154e11ea24dc3ec5a4c1da0 ]\n\nMicrochip USB Analyzer can activate the internal termination resistors\nby setting the \"termination\" option ON, or OFF to to deactivate them.\nAs I\u0027ve observed, both with my oscilloscope and captured USB packets\nbelow, you must send \"0\" to turn it ON, and \"1\" to turn it OFF.\n\nFrom the schematics in the user\u0027s guide, I can confirm that you must\ndrive the CAN_RES signal LOW \"0\" to activate the resistors.\n\nReverse the argument value of usb_msg.termination to fix this.\n\nThese are the two commands sequence, ON then OFF.\n\n\u003e No.     Time           Source                Destination           Protocol Length Info\n\u003e       1 0.000000       host                  1.3.1                 USB      46     URB_BULK out\n\u003e\n\u003e Frame 1: 46 bytes on wire (368 bits), 46 bytes captured (368 bits)\n\u003e USB URB\n\u003e Leftover Capture Data: a80000000000000000000000000000000000a8\n\u003e\n\u003e No.     Time           Source                Destination           Protocol Length Info\n\u003e       2 4.372547       host                  1.3.1                 USB      46     URB_BULK out\n\u003e\n\u003e Frame 2: 46 bytes on wire (368 bits), 46 bytes captured (368 bits)\n\u003e USB URB\n\u003e Leftover Capture Data: a80100000000000000000000000000000000a9\n\nSigned-off-by: Yasushi SHOJI \u003cyashi@spacecubics.com\u003e\nLink: https://lore.kernel.org/all/20221124152504.125994-1-yashi@spacecubics.com\nSigned-off-by: Marc Kleine-Budde \u003cmkl@pengutronix.de\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "957e51a77d4d18b20e06da7fb16838518cb88999",
      "old_mode": 33188,
      "old_path": "drivers/net/can/usb/mcba_usb.c",
      "new_id": "16fb4fc26518361f78d481cd1b34071c968808cf",
      "new_mode": 33188,
      "new_path": "drivers/net/can/usb/mcba_usb.c"
    }
  ]
}
