responses changed in 'master' so fix up things so that the vibrator
driver works properly.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
sizeof(*request), sizeof(*response));
if (!operation)
return -ENOMEM;
- request = operation->request_payload;
+ request = operation->request.payload;
request->timeout_ms = cpu_to_le16(timeout_ms);
/* Synchronous operation--no callback */
goto out;
}
- response = operation->response_payload;
+ response = operation->response.payload;
if (response->status) {
gb_connection_err(connection, "send data response %hhu",
response->status);