|
@@ -103,6 +103,7 @@ struct cros_ec_command {
|
|
|
* @din_size: size of din buffer to allocate (zero to use static din)
|
|
|
* @dout_size: size of dout buffer to allocate (zero to use static dout)
|
|
|
* @wake_enabled: true if this device can wake the system from sleep
|
|
|
+ * @suspended: true if this device had been suspended
|
|
|
* @cmd_xfer: send command to EC and get response
|
|
|
* Returns the number of bytes received if the communication succeeded, but
|
|
|
* that doesn't mean the EC was happy with the command. The caller
|
|
@@ -136,6 +137,7 @@ struct cros_ec_device {
|
|
|
int din_size;
|
|
|
int dout_size;
|
|
|
bool wake_enabled;
|
|
|
+ bool suspended;
|
|
|
int (*cmd_xfer)(struct cros_ec_device *ec,
|
|
|
struct cros_ec_command *msg);
|
|
|
int (*pkt_xfer)(struct cros_ec_device *ec,
|