Re: Channel mask out/hide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/15/11 12:15, Hennerich, Michael wrote:
> Hi Jonathan,
> 
> A number of our ADC drivers use is_visible to hide some channels in certain configurations.
> Now that the channel registration is done in the core.
> How do you think we should do that, from now on?
Different channel sets for the different devices. It's slightly more static data, but
not too bad.  So basically how we did it before that is_visible function came along.
See max1363 or the version of adis16400 I'll push out to the onwards tree shortly.

That's the one big disadvantage I've seen, but I think the gains outweigh the slightly
larger amount of code in those places where is_visible is currently used.
> 
> Greetings,
> Michael
> 
> --
> Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
> Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
> Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif
> 
> 
> 

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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux