Jae Hyun Yoo
517fde0eb5
i2c: aspeed: Fix initial values of master and slave state
...
This patch changes the order of enum aspeed_i2c_master_state and
enum aspeed_i2c_slave_state defines to make their initial value to
ASPEED_I2C_MASTER_INACTIVE and ASPEED_I2C_SLAVE_STOP respectively.
In case of multi-master use, if a slave data comes ahead of the
first master xfer, master_state starts from an invalid state so
this change fixes the issue.
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2018-07-21 00:23:19 +02:00
..
2018-01-18 00:08:20 +01:00
2017-04-20 12:02:32 +01:00
2014-11-07 18:35:33 +01:00
2014-05-22 10:09:21 +02:00
2017-09-13 23:37:16 +02:00
2018-06-12 16:19:22 -07:00
2016-08-22 08:19:55 +02:00
2014-03-13 09:44:59 +01:00
2018-07-21 00:23:19 +02:00
2018-04-30 10:39:28 +02:00
2015-10-23 23:31:11 +02:00
2018-05-29 20:30:49 +02:00
2018-02-22 12:11:07 +01:00
2017-07-31 17:03:32 +02:00
2016-10-07 14:12:21 -07:00
2018-07-13 00:09:37 +02:00
2017-07-31 17:03:32 +02:00
2014-10-20 16:20:37 +02:00
2018-07-02 17:38:07 +02:00
2017-08-29 22:32:47 +02:00
2017-01-28 22:16:38 +01:00
2018-07-13 00:09:37 +02:00
2017-04-19 21:00:13 +02:00
2018-07-03 23:06:11 +02:00
2018-07-03 23:05:55 +02:00
2018-07-03 23:06:19 +02:00
2017-06-19 18:24:59 +02:00
2018-02-04 10:57:43 -08:00
2018-07-03 23:05:55 +02:00
2016-11-18 01:48:01 +01:00
2018-05-29 20:30:49 +02:00
2016-11-18 02:05:03 +01:00
2018-05-29 20:30:49 +02:00
2018-05-29 20:30:49 +02:00
2017-04-20 12:02:32 +01:00
2018-05-29 20:30:49 +02:00
2018-07-21 00:15:22 +02:00
2018-07-21 00:07:09 +02:00
2018-07-13 00:12:53 +02:00
2014-10-20 16:20:37 +02:00
2018-05-29 20:30:49 +02:00
2014-11-07 18:35:33 +01:00
2018-07-03 23:26:44 +02:00
2018-05-24 22:05:54 +02:00
2017-10-28 14:03:45 +02:00
2018-05-30 22:13:27 +02:00
2018-05-29 20:30:49 +02:00
2016-04-11 18:54:59 +02:00
2014-11-07 18:35:33 +01:00
2016-08-22 08:19:55 +02:00
2018-01-15 21:02:43 +01:00
2016-10-25 11:48:58 +02:00
2018-05-29 20:30:49 +02:00
2017-07-31 17:03:32 +02:00
2018-01-26 18:33:44 +01:00
2018-04-30 10:39:29 +02:00
2018-01-15 19:19:55 +01:00
2018-04-30 10:39:28 +02:00
2018-03-17 21:20:04 +01:00
2018-05-30 22:12:41 +02:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-05-08 23:19:02 +02:00
2018-06-14 16:21:46 +09:00
2018-03-02 11:11:15 +01:00
2018-03-02 11:11:15 +01:00
2017-08-29 22:26:08 +02:00
2018-05-17 16:27:58 +02:00
2018-05-24 22:06:17 +02:00
2017-10-28 23:42:26 +02:00
2017-10-28 23:42:26 +02:00
2015-08-10 08:37:34 +02:00
2018-05-29 20:30:49 +02:00
2017-04-20 12:02:32 +01:00
2018-05-17 16:27:58 +02:00
2018-03-02 11:17:23 +01:00
2018-05-15 09:31:19 +02:00
2018-05-17 16:27:59 +02:00
2017-08-29 22:32:47 +02:00
2017-08-29 22:20:20 +02:00
2017-11-28 22:49:30 +01:00
2017-11-28 22:49:30 +01:00
2018-06-14 16:21:46 +09:00
2018-07-17 10:47:53 +02:00
2018-05-29 20:30:49 +02:00
2018-05-24 22:09:05 +02:00
2018-05-24 22:13:04 +02:00
2018-07-13 00:09:37 +02:00
2018-03-02 11:18:55 +01:00
2016-08-22 08:19:55 +02:00
2018-05-08 23:19:02 +02:00
2014-11-07 18:35:33 +01:00
2017-08-14 21:39:21 +02:00
2018-02-22 12:12:35 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-04-20 12:02:32 +01:00
2018-07-13 00:09:37 +02:00
2017-07-31 17:03:32 +02:00
2018-04-30 10:39:27 +02:00
2018-04-30 10:39:27 +02:00
2018-02-27 13:51:05 +01:00
2018-05-17 15:59:02 +02:00
2018-07-03 23:17:36 +02:00
2017-08-14 21:40:21 +02:00
2018-05-17 15:40:33 +02:00
2017-11-02 00:01:21 +01:00
2017-04-21 14:04:57 +02:00
2018-07-17 10:03:42 +02:00
2017-11-02 00:01:31 +01:00
2017-05-22 10:33:42 +02:00
2017-08-12 15:38:23 +02:00
2017-08-12 15:38:13 +02:00
2017-08-29 22:34:12 +02:00
2014-11-07 18:35:33 +01:00
2017-04-20 12:02:32 +01:00
2018-05-15 09:31:26 +02:00
2016-08-22 08:19:55 +02:00
2017-11-01 23:54:53 +01:00
2018-05-29 20:30:49 +02:00
2018-05-22 14:06:34 +02:00
2017-02-09 17:06:52 +01:00
2017-06-27 23:21:00 +02:00
2018-07-21 00:07:07 +02:00
2018-07-21 00:07:07 +02:00
2017-04-20 12:02:32 +01:00