summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/olpc_apsp.c
diff options
context:
space:
mode:
authorHong Liu2019-02-12 13:05:23 +0100
committerJiri Kosina2019-02-15 22:47:21 +0100
commit09cc8b361887787a3577aa0b6510af4b11b51b9e (patch)
treeb826762220ff689e81d6c0725cb84dd41c17bafb /drivers/input/serio/olpc_apsp.c
parentHID: intel-ish-hid: move doorbell writing before flush (diff)
downloadkernel-qcow2-linux-09cc8b361887787a3577aa0b6510af4b11b51b9e.tar.gz
kernel-qcow2-linux-09cc8b361887787a3577aa0b6510af4b11b51b9e.tar.xz
kernel-qcow2-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/input/serio/olpc_apsp.c')
0 files changed, 0 insertions, 0 deletions