Re: [PATCHv3 09/13] hackrf: switch to single function which configures everything

2015-08-10 Thread Hans Verkuil
On 07/31/2015 04:10 AM, Antti Palosaari wrote: > Implement single funtion, hackrf_set_params(), which handles all > needed settings. Controls and other IOCTLs are just wrappers to that > function. That way we can get easily better control what we could do > on different device states - sleeping, re

[PATCHv3 09/13] hackrf: switch to single function which configures everything

2015-07-30 Thread Antti Palosaari
Implement single funtion, hackrf_set_params(), which handles all needed settings. Controls and other IOCTLs are just wrappers to that function. That way we can get easily better control what we could do on different device states - sleeping, receiving, transmitting. Signed-off-by: Antti Palosaari