aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorVic Yang <[email protected]>2017-03-24 17:44:01 +0000
committerLee Jones <[email protected]>2017-04-05 12:30:07 +0000
commitb2376407f98920c9b0c411948675f58a9640be35 (patch)
tree5b71cd9324c622f1b4cd4daa57e71d2350d7d94d /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentLinux 4.11-rc1 (diff)
downloadkernel-b2376407f98920c9b0c411948675f58a9640be35.tar.gz
kernel-b2376407f98920c9b0c411948675f58a9640be35.zip
mfd: cros-ec: Fix host command buffer size
For SPI, we can get up to 32 additional bytes for response preamble. The current overhead (2 bytes) may cause problems when we try to receive a big response. Update it to 32 bytes. Without this fix we could see a kernel BUG when we receive a big response from the Chrome EC when is connected via SPI. Signed-off-by: Vic Yang <[email protected]> Tested-by: Enric Balletbo i Serra <enric.balletbo.collabora.com> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions