[linux-dvb] [PATCH] Hauppauge Nova-T endianess problem on powerpc

Patrick Boettcher patrick.boettcher at desy.de
Fri Mar 2 11:18:37 CET 2007


Committed, thanks.

Patrick.


On Fri, 2 Mar 2007, Dennis Ranke wrote:

> Hi!
> 
> When trying to use a Hauppauge Nova-T Stick on a big-endian architecture
> (such as powerpc) no frontend can be attached.
> 
> The attached patch fixes this problem by removing two lines in
> dib0700_ctrl_rd() that try to correct the endianess on two values that
> already are correct:
> -	/* think about swapping here */
> -	value = le16_to_cpu(value);
> -	index = le16_to_cpu(index);
> 
> With this simple patch this dvb hardware works great, thanks to anyone
> involved for the good work. :)
> 
> Signed-off-by: Dennis Ranke <mail at exoticorn.de>
> 



More information about the linux-dvb mailing list