Re: [PATCH 3/3] radio-tea5761: Update driver

2008-06-10 Thread Eduardo Valentin
Hi Balbi, On Mon, Jun 9, 2008 at 10:07 PM, Felipe Balbi [EMAIL PROTECTED] wrote: On Mon, Jun 09, 2008 at 09:14:21PM -0400, Eduardo Valentin wrote: If I understood correctly what you said, the same comment I said before also applies here. Eventhough it prints that the probe failed, this way I

[PATCH 3/3] radio-tea5761: Update driver

2008-06-10 Thread Eduardo Valentin
From: Eduardo Valentin [EMAIL PROTECTED] This patch updates this driver by changing the way it accesses the device. There is the tuner API which already has an implementation for tea5761. This patch changes the driver to use tuner API. It also changes the way ioctls are handled. This way it is

[PATCH 3/3] radio-tea5761: Update driver

2008-06-09 Thread Eduardo Valentin
From: Eduardo Valentin [EMAIL PROTECTED] This patch updates this driver by changing the way it accesses the device. There is the tuner API which already has an implementation for tea5761. This patch changes the driver to use tuner API. It also changes the way ioctls are handled. This way it is

Re: [PATCH 3/3] radio-tea5761: Update driver

2008-06-09 Thread Felipe Balbi
On Mon, Jun 09, 2008 at 04:05:43PM -0400, Eduardo Valentin wrote: +static void tea5761_set_audout_mode(struct tea5761_device *tea, int audmode) { - struct tea5761_regs *r = tea-regs; - - if (!(r-tnctrl TEA5761_TNCTRL_PUPD0)) { - r-tnctrl = ~(TEA5761_TNCTRL_AFM |