Re: [PATCH] release_firmware() fixes

From: Marcel Holtmann
Date: Wed Jul 05 2006 - 15:03:57 EST


Hi Magnus,

> Use release_firmware() to free requested resources.
>
> According to Documentation/firmware_class/README the request_firmware() call
> should be followed by a release_firmware(). Some drivers do not however free
> the firmware previously allocated with request_firmware(). This patch tries to
> fix this by making sure that release_firmware() is used as expected.

thanks for catching these. I even overlooked one one in my own drivers.

> Signed-off-by: Magnus Damm <magnus@xxxxxxxxxxxxx>

Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


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