)]}'
{
  "commit": "34f9130a457c0a4f9ec1b30a1311a3a02c6581f2",
  "tree": "370ebc2ba583bb043852f05b4d40874a95848a21",
  "parents": [
    "06d0f51f291d6c20baba2ae6f6a8c86de4a87a4f"
  ],
  "author": {
    "name": "Ross Zwisler",
    "email": "zwisler@chromium.org",
    "time": "Mon Apr 29 12:25:17 2019 -0600"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri May 10 17:53:15 2019 +0200"
  },
  "message": "ASoC: Intel: avoid Oops if DMA setup fails\n\ncommit 0efa3334d65b7f421ba12382dfa58f6ff5bf83c4 upstream.\n\nCurrently in sst_dsp_new() if we get an error return from sst_dma_new()\nwe just print an error message and then still complete the function\nsuccessfully.  This means that we are trying to run without sst-\u003edma\nproperly set up, which will result in NULL pointer dereference when\nsst-\u003edma is later used.  This was happening for me in\nsst_dsp_dma_get_channel():\n\n        struct sst_dma *dma \u003d dsp-\u003edma;\n\t...\n        dma-\u003ech \u003d dma_request_channel(mask, dma_chan_filter, dsp);\n\nThis resulted in:\n\n   BUG: unable to handle kernel NULL pointer dereference at 0000000000000018\n   IP: sst_dsp_dma_get_channel+0x4f/0x125 [snd_soc_sst_firmware]\n\nFix this by adding proper error handling for the case where we fail to\nset up DMA.\n\nThis change only affects Haswell and Broadwell systems.  Baytrail\nsystems explicilty opt-out of DMA via sst-\u003epdata-\u003eresindex_dma_base\nbeing set to -1.\n\nSigned-off-by: Ross Zwisler \u003czwisler@google.com\u003e\nCc: stable@vger.kernel.org\nAcked-by: Pierre-Louis Bossart \u003cpierre-louis.bossart@linux.intel.com\u003e\nSigned-off-by: Mark Brown \u003cbroonie@kernel.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79a9fdf94d3840df55b207b2c839e2c8e9af47e5",
      "old_mode": 33188,
      "old_path": "sound/soc/intel/common/sst-firmware.c",
      "new_id": "582b30a5118dfdbdb9002452b957eb2fa296f3dc",
      "new_mode": 33188,
      "new_path": "sound/soc/intel/common/sst-firmware.c"
    }
  ]
}
