aboutsummaryrefslogtreecommitdiffstats
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorNick Crews <[email protected]>2019-02-09 00:37:18 +0000
committerEnric Balletbo i Serra <[email protected]>2019-02-21 20:36:21 +0000
commitb787bb126cbcd73754bcbc055ae9f804ac576e4a (patch)
tree3c8d4173614ddfddbbe4ea0d6904c974a7c5a704 /fs/filesystems.c
parentplatform/chrome: Add new driver for Wilco EC (diff)
downloadkernel-b787bb126cbcd73754bcbc055ae9f804ac576e4a.tar.gz
kernel-b787bb126cbcd73754bcbc055ae9f804ac576e4a.zip
platform/chrome: wilco_ec: Add support for raw commands in debugfs
Add a debugfs attribute that allows sending raw commands to the EC. This is useful for development and debug but should not be enabled in a production environment. To test: Get the EC firmware build date First send the request command > echo 00 f0 38 00 03 00 > raw Then read the result. "12/21/18" is in the middle of the response > cat raw 00 31 32 2f 32 31 2f 31 38 00 00 0f 01 00 01 00 .12/21/18....... Get the EC firmware build date First send the request command > echo 00 f0 38 00 03 00 > raw Then read the result. "12/21/18" is in the middle of the response > cat raw 00 31 32 2f 32 31 2f 31 38 00 00 0f 01 00 01 00 .12/21/18....... Signed-off-by: Duncan Laurie <[email protected]> Signed-off-by: Nick Crews <[email protected]> [Fix off-by-one error in wilco_ec/debugfs.c] Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions