diff options
author | Hong Liu <hong.liu@intel.com> | 2019-02-12 13:05:23 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-02-15 22:47:21 +0100 |
commit | 09cc8b361887787a3577aa0b6510af4b11b51b9e (patch) | |
tree | b826762220ff689e81d6c0725cb84dd41c17bafb /drivers/hid/intel-ish-hid/ipc | |
parent | HID: intel-ish-hid: move doorbell writing before flush (diff) | |
download | linux-09cc8b361887787a3577aa0b6510af4b11b51b9e.tar.xz linux-09cc8b361887787a3577aa0b6510af4b11b51b9e.zip |
HID: intel-ish-hid: remove data[128] usage on stack when sending HBM request
Instead of using an 128-byte on-stack array to store the request, we can
instantiate the request on stack directly. This can save the stack usage of
these functions, since most of the requests are much smaller than 128 bytes.
Signed-off-by: Hong Liu <hong.liu@intel.com>
Tested-by: Hongyan Song <hongyan.song@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/intel-ish-hid/ipc')
0 files changed, 0 insertions, 0 deletions