Heips Nils,

On 07/07/2009 05:33 PM, Nils Kassube wrote:
Hi Antti,

Antti Palosaari wrote:
Nils Kassube wrote:
As I'm not familiar with the hardware, I can't say what buffer size
would be appropriate but I can say that for my device the parameter
I see the problem but your fix is not ideally correct for my eyes.

You're probably right - like I wrote, I'm not familiar with the
hardware.

I
don't have currently access to sniffs to ensure that but I think BOOT
should be write command. Now it is defined as read. I think moving
BOOT from read to write fixes problem.

Yes, that makes a lot of sense to me. Therefore I changed the code to
make it a write command like this:

--- orig/linux-2.6.31/drivers/media/dvb/dvb-usb/af9015.c        2009-06-30
11:34:45.000000000 +0200
+++ linux-2.6.31/drivers/media/dvb/dvb-usb/af9015.c     2009-07-07
14:58:27.000000000 +0200
@@ -81,7 +81,6 @@

        switch (req->cmd) {
        case GET_CONFIG:
-       case BOOT:
        case READ_MEMORY:
        case RECONNECT_USB:
        case GET_IR_CODE:
@@ -100,6 +99,7 @@
        case WRITE_VIRTUAL_MEMORY:
        case COPY_FIRMWARE:
        case DOWNLOAD_FIRMWARE:
+       case BOOT:
                break;
        default:
                err("unknown command:%d", req->cmd);

And of course I removed the earlier change. With this modification it
works as well.

I need your signed off by tag in order to forward this mainline. Patch is correct and I tested it also.
About tags http://kerneltrap.org/node/8329

regards
Antti
--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to