summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.c
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2017-02-24 20:35:16 +0100
committerJames Morris <james.l.morris@oracle.com>2017-09-24 06:51:38 +0200
commitfb154e0e0a95249459df054241a9e8f4cca56062 (patch)
tree51ee9631886c462cddde40b4492e429b177f97be /drivers/bluetooth/btmrvl_sdio.c
parenttpm: replace msleep() with usleep_range() in TPM 1.2/2.0 generic drivers (diff)
downloadlinux-fb154e0e0a95249459df054241a9e8f4cca56062.tar.xz
linux-fb154e0e0a95249459df054241a9e8f4cca56062.zip
tpm: ibmvtpm: simplify crq initialization and document crq format
The crq is passed in registers and is the same on BE and LE hosts. However, current implementation allocates a structure on-stack to represent the crq, initializes the members swapping them to BE, and loads the structure swapping it from BE. This is pointless and causes GCC warnings about ununitialized members. Get rid of the structure and the warnings. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'drivers/bluetooth/btmrvl_sdio.c')
0 files changed, 0 insertions, 0 deletions