Re: How to build I2C_MUX in media_build as rtl28xxu depends on it ?

2014-03-24 Thread Antti Palosaari

On 24.03.2014 20:08, Jan Hoogenraad wrote:

After recent changes, I cannot build  rtl28xxu on systems with linux
2.6.32 or 3.2.0.
rtl28xxu is one of the few drivers depending on  I2C_MUX.
Kconfig.kern lists I2C_MUX (correctly) as not in the kernel of the system.
I don't know if it is possible to load a new module for that.

Who can help me with this ?


I think the correct way is to add that I2C_MUX to media-build backport.


regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


How to build I2C_MUX in media_build as rtl28xxu depends on it ?

2014-03-24 Thread Jan Hoogenraad
After recent changes, I cannot build  rtl28xxu on systems with linux
2.6.32 or 3.2.0.
rtl28xxu is one of the few drivers depending on  I2C_MUX.
Kconfig.kern lists I2C_MUX (correctly) as not in the kernel of the system.
I don't know if it is possible to load a new module for that.

Who can help me with this ?

Antti Palosaari wrote:
> We need depend on I2C_MUX as rtl2832 demod used requires it.
>
> All error/warnings:
> warning: (DVB_USB_RTL28XXU) selects DVB_RTL2832 which has unmet direct 
> dependencies (MEDIA_SUPPORT && DVB_CORE && I2C && I2C_MUX)
> ERROR: "i2c_add_mux_adapter" [drivers/media/dvb-frontends/rtl2832.ko] 
> undefined!
> ERROR: "i2c_del_mux_adapter" [drivers/media/dvb-frontends/rtl2832.ko] 
> undefined!
>
> Reported-by: kbuild test robot 
> Signed-off-by: Antti Palosaari 
> ---
>  drivers/media/usb/dvb-usb-v2/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/usb/dvb-usb-v2/Kconfig 
> b/drivers/media/usb/dvb-usb-v2/Kconfig
> index bfb7378..037e519 100644
> --- a/drivers/media/usb/dvb-usb-v2/Kconfig
> +++ b/drivers/media/usb/dvb-usb-v2/Kconfig
> @@ -126,7 +126,7 @@ config DVB_USB_MXL111SF
>  
>  config DVB_USB_RTL28XXU
>   tristate "Realtek RTL28xxU DVB USB support"
> - depends on DVB_USB_V2
> + depends on DVB_USB_V2 && I2C_MUX
>   select DVB_RTL2830
>   select DVB_RTL2832
>   select MEDIA_TUNER_QT1010 if MEDIA_SUBDRV_AUTOSELECT


-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html