Re: [PATCHv2] si2168: return error if set_frontend is called with invalid parameters

2015-01-17 Thread Antti Palosaari
On 01/16/2015 08:36 PM, Olli Salonen wrote: This patch is based on Antti's silabs branch. According to dvb-frontend.h set_frontend may be called with bandwidth_hz set to 0 if automatic bandwidth is required. Si2168 does not support automatic bandwidth and does not declare FE_CAN_BANDWIDTH_AUTO i

[PATCHv2] si2168: return error if set_frontend is called with invalid parameters

2015-01-16 Thread Olli Salonen
This patch is based on Antti's silabs branch. According to dvb-frontend.h set_frontend may be called with bandwidth_hz set to 0 if automatic bandwidth is required. Si2168 does not support automatic bandwidth and does not declare FE_CAN_BANDWIDTH_AUTO in caps. This patch will change the behaviou