mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
greybus: uart-gb: fix up typo from previous patch moving the status variable around.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
25d0f81a0e
commit
9ffb4b8b39
1 changed files with 1 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ static int get_version(struct gb_tty *tty)
|
|||
gb_connection_err(tty->connection, "result %hhu",
|
||||
operation->result);
|
||||
} else {
|
||||
response = operation->response.payload;
|
||||
if (response->major > GB_UART_VERSION_MAJOR) {
|
||||
pr_err("unsupported major version (%hhu > %hhu)\n",
|
||||
response->major, GB_UART_VERSION_MAJOR);
|
||||
|
|
|
|||
Loading…
Reference in a new issue