diff options
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2018-01-24 02:44:55 +0300 |
---|---|---|
committer | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2018-01-24 02:44:55 +0300 |
commit | 90e6ceff18447c3ccb6e438cbadf8096f3f91852 (patch) | |
tree | 1ef199fb79828856283a9797f1c30f00a1648d18 /meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas | |
parent | 8445fd6c9947e5b2cb9be9e3913d0b415daa6f38 (diff) |
SPI slave: fix WARN message
This fixes warn message form spidev driver
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas')
2 files changed, 1 insertions, 27 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch index 4d914f1..346d5dc 100644 --- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch +++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch @@ -11994,7 +11994,7 @@ index 0000000..8612f64 + + status = "okay"; + spidev@0 { -+ compatible = "spidev"; ++ compatible = "renesas,sh-msiof"; + reg = <0>; + spi-max-frequency = <66666666>; + }; diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0090-spidev-Do-not-automatically-bind-to-MSIOF-spi-may-be.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0090-spidev-Do-not-automatically-bind-to-MSIOF-spi-may-be.patch deleted file mode 100644 index de7cc2b..0000000 --- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0090-spidev-Do-not-automatically-bind-to-MSIOF-spi-may-be.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e2fe50b628f660ef35c82b778c5d0c56b5c4487b Mon Sep 17 00:00:00 2001 -From: Andrey Dolnikov <andrey.dolnikov@cogentembedded.com> -Date: Fri, 12 Jan 2018 18:25:33 +0300 -Subject: [PATCH] spidev: Do not automatically bind to MSIOF spi (may be used - as slave). - -Signed-off-by: Andrey Dolnikov <andrey.dolnikov@cogentembedded.com> ---- - drivers/spi/spidev.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c -index 203d68c..cbd0b93 100644 ---- a/drivers/spi/spidev.c -+++ b/drivers/spi/spidev.c -@@ -697,7 +697,6 @@ static struct class *spidev_class; - static const struct of_device_id spidev_dt_ids[] = { - { .compatible = "rohm,dh2228fv" }, - { .compatible = "lineartechnology,ltc2488" }, -- { .compatible = "renesas,sh-msiof" }, - { .compatible = "spi-gpio" }, - {}, - }; --- -2.7.4 - |