From 008229cfaffc1ca9cb8d46a55d1f72cfa9de6391 Mon Sep 17 00:00:00 2001
From: dir
Date: Tue, 11 Apr 2017 16:40:08 +0200
Subject: Fix hifiberry dacplus missing I2C dependencies
---
target/linux/config/Config.in.audio | 1 +
target/linux/config/Config.in.i2c | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/target/linux/config/Config.in.audio b/target/linux/config/Config.in.audio
index d7518b733..bd766ca1b 100644
--- a/target/linux/config/Config.in.audio
+++ b/target/linux/config/Config.in.audio
@@ -211,6 +211,7 @@ config ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC
config ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS
tristate "Hifiberry DACPLUS"
select ADK_KERNEL_SND_BCM2835_SOC_I2S
+ select ADK_KERNEL_SND_SOC_PCM512x_I2C
select ADK_KERNEL_SND_SOC_PCM512x
depends on ADK_TARGET_BOARD_BCM28XX
diff --git a/target/linux/config/Config.in.i2c b/target/linux/config/Config.in.i2c
index 6d33e81cd..c3cb0fa89 100644
--- a/target/linux/config/Config.in.i2c
+++ b/target/linux/config/Config.in.i2c
@@ -25,12 +25,16 @@ config ADK_KERNEL_I2C_GPIO
default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
help
+config ADK_KERNEL_I2C_BCM2835
+ tristate "I2C driver for BCM2835 boards"
+
config ADK_KERNEL_I2C_BCM2708
tristate "I2C driver for BCM28XX boards"
select ADK_KERNEL_I2C
select ADK_KERNEL_REGMAP
select ADK_KERNEL_REGMAP_I2C
select ADK_KERNEL_I2C_CHARDEV
+ select ADK_KERNEL_I2C_BCM2835
depends on ADK_TARGET_BOARD_BCM28XX
default m if ADK_TARGET_BOARD_BCM28XX
default n
--
cgit v1.2.3