Matthias Kaehlcke f861e3e28a
ASoC: rt5677: Fix initialization of rt5677_of_match.data
The driver expects to find the device id in rt5677_of_match.data, however
it is currently assigned to rt5677_of_match.type. Fix this.

The problem was found with the help of clang:
  sound/soc/codecs/rt5677.c:5010:36: warning: expression which evaluates to
  zero treated as a null pointer constant of type 'const void *'
  [-Wnon-literal-null-conversion]
    { .compatible = "realtek,rt5677", RT5677 },
                                      ^~~~~~

Fixes: ddc9e69b9dc2 ("ASoC: rt5677: Hide platform data in the module sources")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-08-08 10:52:25 +01:00
..
2018-02-12 09:37:29 +00:00
2015-10-05 17:42:49 +01:00
2018-02-19 16:53:10 +00:00
2018-02-27 10:41:34 +00:00
2015-07-07 13:35:13 +01:00
2018-02-21 11:19:57 +00:00
2017-06-13 19:30:53 +01:00
2018-08-01 14:22:56 +01:00
2016-08-08 11:55:20 +01:00
2018-08-01 14:22:56 +01:00
2018-02-20 12:05:58 +00:00
2018-03-02 13:17:04 +00:00
2018-03-02 13:17:04 +00:00
2018-04-26 12:44:15 +01:00
2018-05-18 17:46:03 +01:00
2017-07-18 14:46:20 +01:00
2015-12-19 12:02:18 +00:00
2018-02-12 11:48:26 +00:00
2018-02-12 11:48:26 +00:00
2018-06-18 12:54:38 +01:00
2018-05-18 11:20:11 +01:00
2018-06-27 12:26:41 +01:00
2018-06-27 12:26:41 +01:00
2016-06-26 12:28:13 +01:00
2018-06-01 12:05:30 +01:00
2018-06-01 12:05:30 +01:00
2015-04-08 19:25:40 +01:00