All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath3k: reduce memory usage
@ 2010-11-22 20:09 Alexander Holler
  2010-11-30  1:52 ` Gustavo F. Padovan
  2011-01-13 19:08 ` Gustavo F. Padovan
  0 siblings, 2 replies; 10+ messages in thread
From: Alexander Holler @ 2010-11-22 20:09 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Alicke Xu, Luis R. Rodriguez, Vikram Kandukuri, linux-bluetooth,
	Alexander Holler

There is no need to hold the firmware in memory.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
---
 drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
 1 files changed, 20 insertions(+), 55 deletions(-)

diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
index 128cae4..81cd1ed 100644
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -43,46 +43,40 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);
 #define USB_REQ_DFU_DNLOAD	1
 #define BULK_SIZE		4096
 
-struct ath3k_data {
-	struct usb_device *udev;
-	u8 *fw_data;
-	u32 fw_size;
-	u32 fw_sent;
-};
-
-static int ath3k_load_firmware(struct ath3k_data *data,
-				unsigned char *firmware,
-				int count)
+static int ath3k_load_firmware(struct usb_device *udev,
+				const struct firmware *firmware)
 {
 	u8 *send_buf;
 	int err, pipe, len, size, sent = 0;
+	int count = firmware->size;
 
-	BT_DBG("ath3k %p udev %p", data, data->udev);
+	BT_DBG("udev %p", udev);
 
-	pipe = usb_sndctrlpipe(data->udev, 0);
+	pipe = usb_sndctrlpipe(udev, 0);
 
-	if ((usb_control_msg(data->udev, pipe,
+	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
+	if (!send_buf) {
+		BT_ERR("Can't allocate memory chunk for firmware");
+		return -ENOMEM;
+	}
+
+	memcpy(send_buf, firmware->data, 20);
+	if ((err = usb_control_msg(udev, pipe,
 				USB_REQ_DFU_DNLOAD,
 				USB_TYPE_VENDOR, 0, 0,
-				firmware, 20, USB_CTRL_SET_TIMEOUT)) < 0) {
+				send_buf, 20, USB_CTRL_SET_TIMEOUT)) < 0) {
 		BT_ERR("Can't change to loading configuration err");
-		return -EBUSY;
+		goto error;
 	}
 	sent += 20;
 	count -= 20;
 
-	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
-	if (!send_buf) {
-		BT_ERR("Can't allocate memory chunk for firmware");
-		return -ENOMEM;
-	}
-
 	while (count) {
 		size = min_t(uint, count, BULK_SIZE);
-		pipe = usb_sndbulkpipe(data->udev, 0x02);
-		memcpy(send_buf, firmware + sent, size);
+		pipe = usb_sndbulkpipe(udev, 0x02);
+		memcpy(send_buf, firmware->data + sent, size);
 
-		err = usb_bulk_msg(data->udev, pipe, send_buf, size,
+		err = usb_bulk_msg(udev, pipe, send_buf, size,
 					&len, 3000);
 
 		if (err || (len != size)) {
@@ -108,57 +102,28 @@ static int ath3k_probe(struct usb_interface *intf,
 {
 	const struct firmware *firmware;
 	struct usb_device *udev = interface_to_usbdev(intf);
-	struct ath3k_data *data;
-	int size;
 
 	BT_DBG("intf %p id %p", intf, id);
 
 	if (intf->cur_altsetting->desc.bInterfaceNumber != 0)
 		return -ENODEV;
 
-	data = kzalloc(sizeof(*data), GFP_KERNEL);
-	if (!data)
-		return -ENOMEM;
-
-	data->udev = udev;
-
 	if (request_firmware(&firmware, "ath3k-1.fw", &udev->dev) < 0) {
-		kfree(data);
 		return -EIO;
 	}
 
-	size = max_t(uint, firmware->size, 4096);
-	data->fw_data = kmalloc(size, GFP_KERNEL);
-	if (!data->fw_data) {
+	if (ath3k_load_firmware(udev, firmware)) {
 		release_firmware(firmware);
-		kfree(data);
-		return -ENOMEM;
-	}
-
-	memcpy(data->fw_data, firmware->data, firmware->size);
-	data->fw_size = firmware->size;
-	data->fw_sent = 0;
-	release_firmware(firmware);
-
-	usb_set_intfdata(intf, data);
-	if (ath3k_load_firmware(data, data->fw_data, data->fw_size)) {
-		usb_set_intfdata(intf, NULL);
-		kfree(data->fw_data);
-		kfree(data);
 		return -EIO;
 	}
+	release_firmware(firmware);
 
 	return 0;
 }
 
 static void ath3k_disconnect(struct usb_interface *intf)
 {
-	struct ath3k_data *data = usb_get_intfdata(intf);
-
 	BT_DBG("ath3k_disconnect intf %p", intf);
-
-	kfree(data->fw_data);
-	kfree(data);
 }
 
 static struct usb_driver ath3k_driver = {
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2010-11-22 20:09 [PATCH] ath3k: reduce memory usage Alexander Holler
@ 2010-11-30  1:52 ` Gustavo F. Padovan
  2010-11-30  8:50   ` Alexander Holler
  2011-01-10 16:54   ` Alexander Holler
  2011-01-13 19:08 ` Gustavo F. Padovan
  1 sibling, 2 replies; 10+ messages in thread
From: Gustavo F. Padovan @ 2010-11-30  1:52 UTC (permalink / raw)
  To: Alexander Holler
  Cc: Marcel Holtmann, Alicke Xu, Luis R. Rodriguez, Vikram Kandukuri,
	linux-bluetooth

Hi Alexander,

* Alexander Holler <holler@ahsoftware.de> [2010-11-22 21:09:01 +0100]:

> There is no need to hold the firmware in memory.
> 
> Signed-off-by: Alexander Holler <holler@ahsoftware.de>
> ---
>  drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
>  1 files changed, 20 insertions(+), 55 deletions(-)
> 
> diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
> index 128cae4..81cd1ed 100644
> --- a/drivers/bluetooth/ath3k.c
> +++ b/drivers/bluetooth/ath3k.c
> @@ -43,46 +43,40 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);
>  #define USB_REQ_DFU_DNLOAD	1
>  #define BULK_SIZE		4096
>  
> -struct ath3k_data {
> -	struct usb_device *udev;
> -	u8 *fw_data;
> -	u32 fw_size;
> -	u32 fw_sent;
> -};
> -
> -static int ath3k_load_firmware(struct ath3k_data *data,
> -				unsigned char *firmware,
> -				int count)
> +static int ath3k_load_firmware(struct usb_device *udev,
> +				const struct firmware *firmware)
>  {
>  	u8 *send_buf;
>  	int err, pipe, len, size, sent = 0;
> +	int count = firmware->size;
>  
> -	BT_DBG("ath3k %p udev %p", data, data->udev);
> +	BT_DBG("udev %p", udev);
>  
> -	pipe = usb_sndctrlpipe(data->udev, 0);
> +	pipe = usb_sndctrlpipe(udev, 0);
>  
> -	if ((usb_control_msg(data->udev, pipe,
> +	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
> +	if (!send_buf) {
> +		BT_ERR("Can't allocate memory chunk for firmware");
> +		return -ENOMEM;
> +	}
> +
> +	memcpy(send_buf, firmware->data, 20);
> +	if ((err = usb_control_msg(udev, pipe,
>  				USB_REQ_DFU_DNLOAD,
>  				USB_TYPE_VENDOR, 0, 0,
> -				firmware, 20, USB_CTRL_SET_TIMEOUT)) < 0) {
> +				send_buf, 20, USB_CTRL_SET_TIMEOUT)) < 0) {
>  		BT_ERR("Can't change to loading configuration err");
> -		return -EBUSY;
> +		goto error;
>  	}
>  	sent += 20;
>  	count -= 20;

Patch looks good to me,  but I have a question here: what's 20 here? I
didn't figured out.

Vikram, what's your opinion on this patch? Can you ack/nack it?

-- 
Gustavo F. Padovan
http://profusion.mobi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2010-11-30  1:52 ` Gustavo F. Padovan
@ 2010-11-30  8:50   ` Alexander Holler
  2010-12-03 10:51     ` Bala Shanmugam
  2011-01-10 16:54   ` Alexander Holler
  1 sibling, 1 reply; 10+ messages in thread
From: Alexander Holler @ 2010-11-30  8:50 UTC (permalink / raw)
  To: Gustavo F. Padovan
  Cc: Alicke Xu, Luis R. Rodriguez, Vikram Kandukuri, linux-bluetooth

Hello,

Am 30.11.2010 02:52, schrieb Gustavo F. Padovan:
>> -	if ((usb_control_msg(data->udev, pipe,
>> +	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
>> +	if (!send_buf) {
>> +		BT_ERR("Can't allocate memory chunk for firmware");
>> +		return -ENOMEM;
>> +	}
>> +
>> +	memcpy(send_buf, firmware->data, 20);
>> +	if ((err = usb_control_msg(udev, pipe,
>>   				USB_REQ_DFU_DNLOAD,
>>   				USB_TYPE_VENDOR, 0, 0,
>> -				firmware, 20, USB_CTRL_SET_TIMEOUT))<  0) {
>> +				send_buf, 20, USB_CTRL_SET_TIMEOUT))<  0) {
>>   		BT_ERR("Can't change to loading configuration err");
>> -		return -EBUSY;
>> +		goto error;
>>   	}
>>   	sent += 20;
>>   	count -= 20;
>
> Patch looks good to me,  but I have a question here: what's 20 here? I
> didn't figured out.

I don't know. I assume it's a stub which has to be send before the real 
firmware. It already was there and I haven't touched that.

Regards,

Alexander

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2010-11-30  8:50   ` Alexander Holler
@ 2010-12-03 10:51     ` Bala Shanmugam
  2010-12-05 14:28       ` Alexander Holler
  0 siblings, 1 reply; 10+ messages in thread
From: Bala Shanmugam @ 2010-12-03 10:51 UTC (permalink / raw)
  To: Alexander Holler
  Cc: Gustavo F. Padovan, SongXing Xu, Luis Rodriguez,
	Vikram Kandukuri, linux-bluetooth

On 11/30/2010 2:20 PM, Alexander Holler wrote:
> Hello,
>
> Am 30.11.2010 02:52, schrieb Gustavo F. Padovan:
>>> -	if ((usb_control_msg(data->udev, pipe,
>>> +	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
>>> +	if (!send_buf) {
>>> +		BT_ERR("Can't allocate memory chunk for firmware");
>>> +		return -ENOMEM;
>>> +	}
>>> +
>>> +	memcpy(send_buf, firmware->data, 20);
>>> +	if ((err = usb_control_msg(udev, pipe,
>>>    				USB_REQ_DFU_DNLOAD,
>>>    				USB_TYPE_VENDOR, 0, 0,
>>> -				firmware, 20, USB_CTRL_SET_TIMEOUT))<   0) {
>>> +				send_buf, 20, USB_CTRL_SET_TIMEOUT))<   0) {
>>>    		BT_ERR("Can't change to loading configuration err");
>>> -		return -EBUSY;
>>> +		goto error;
>>>    	}
>>>    	sent += 20;
>>>    	count -= 20;
>> Patch looks good to me,  but I have a question here: what's 20 here? I
>> didn't figured out.
> I don't know. I assume it's a stub which has to be send before the real
> firmware. It already was there and I haven't touched that.
>
> Regards,
>
> Alexander
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
The first 20 bytes contain information about the binary like binary 
length, crc,
jump address etc.,

I manually made these changes and its not working.
I am unable to apply Alex patch taken from my office id.
Alex can you send the patch to btlinuxmail@gmail.com.

Regards,
BAla.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2010-12-03 10:51     ` Bala Shanmugam
@ 2010-12-05 14:28       ` Alexander Holler
  0 siblings, 0 replies; 10+ messages in thread
From: Alexander Holler @ 2010-12-05 14:28 UTC (permalink / raw)
  To: Bala Shanmugam
  Cc: Gustavo F. Padovan, SongXing Xu, Luis Rodriguez,
	Vikram Kandukuri, linux-bluetooth

Hello,

Am 03.12.2010 11:51, schrieb Bala Shanmugam:

> I manually made these changes and its not working.
> I am unable to apply Alex patch taken from my office id.
> Alex can you send the patch to btlinuxmail@gmail.com.

The patch applies cleanly to 2.6.36.x and the current 2.6.37 as found in 
Linus tree. I'm using that patch on an armv5, a x86_64 (both 2.6.36.1) 
and on an armv7 with 2.6.37-rc4.

I've sent it to the above e-mail address.

Regards,

Alexander

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2010-11-30  1:52 ` Gustavo F. Padovan
  2010-11-30  8:50   ` Alexander Holler
@ 2011-01-10 16:54   ` Alexander Holler
  2011-01-12 13:37     ` Bala Shanmugam
  1 sibling, 1 reply; 10+ messages in thread
From: Alexander Holler @ 2011-01-10 16:54 UTC (permalink / raw)
  To: Gustavo F. Padovan
  Cc: Marcel Holtmann, Alicke Xu, Luis R. Rodriguez, Vikram Kandukuri,
	linux-bluetooth

Hello,

because the merge window is currently open, should I resend that patch 
or post it on another mailing list too?

I still think that driver should not waste about 250kb of memory. ;)

Regards,

Alexander

Am 30.11.2010 02:52, schrieb Gustavo F. Padovan:
> Hi Alexander,
>
> * Alexander Holler<holler@ahsoftware.de>  [2010-11-22 21:09:01 +0100]:
>
>> There is no need to hold the firmware in memory.
>>
>> Signed-off-by: Alexander Holler<holler@ahsoftware.de>
>> ---
>>   drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
>>   1 files changed, 20 insertions(+), 55 deletions(-)
>>
>> diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
>> index 128cae4..81cd1ed 100644
>> --- a/drivers/bluetooth/ath3k.c
>> +++ b/drivers/bluetooth/ath3k.c
>> @@ -43,46 +43,40 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);
>>   #define USB_REQ_DFU_DNLOAD	1
>>   #define BULK_SIZE		4096
>>
>> -struct ath3k_data {
>> -	struct usb_device *udev;
>> -	u8 *fw_data;
>> -	u32 fw_size;
>> -	u32 fw_sent;
>> -};
>> -
>> -static int ath3k_load_firmware(struct ath3k_data *data,
>> -				unsigned char *firmware,
>> -				int count)
>> +static int ath3k_load_firmware(struct usb_device *udev,
>> +				const struct firmware *firmware)
>>   {
>>   	u8 *send_buf;
>>   	int err, pipe, len, size, sent = 0;
>> +	int count = firmware->size;
>>
>> -	BT_DBG("ath3k %p udev %p", data, data->udev);
>> +	BT_DBG("udev %p", udev);
>>
>> -	pipe = usb_sndctrlpipe(data->udev, 0);
>> +	pipe = usb_sndctrlpipe(udev, 0);
>>
>> -	if ((usb_control_msg(data->udev, pipe,
>> +	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
>> +	if (!send_buf) {
>> +		BT_ERR("Can't allocate memory chunk for firmware");
>> +		return -ENOMEM;
>> +	}
>> +
>> +	memcpy(send_buf, firmware->data, 20);
>> +	if ((err = usb_control_msg(udev, pipe,
>>   				USB_REQ_DFU_DNLOAD,
>>   				USB_TYPE_VENDOR, 0, 0,
>> -				firmware, 20, USB_CTRL_SET_TIMEOUT))<  0) {
>> +				send_buf, 20, USB_CTRL_SET_TIMEOUT))<  0) {
>>   		BT_ERR("Can't change to loading configuration err");
>> -		return -EBUSY;
>> +		goto error;
>>   	}
>>   	sent += 20;
>>   	count -= 20;
>
> Patch looks good to me,  but I have a question here: what's 20 here? I
> didn't figured out.
>
> Vikram, what's your opinion on this patch? Can you ack/nack it?
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2011-01-10 16:54   ` Alexander Holler
@ 2011-01-12 13:37     ` Bala Shanmugam
  0 siblings, 0 replies; 10+ messages in thread
From: Bala Shanmugam @ 2011-01-12 13:37 UTC (permalink / raw)
  To: Alexander Holler
  Cc: Gustavo F. Padovan, Marcel Holtmann, SongXing Xu, Luis Rodriguez,
	Vikram Kandukuri, linux-bluetooth

On 1/10/2011 10:24 PM, Alexander Holler wrote:
> Hello,
>
> because the merge window is currently open, should I resend that patch
> or post it on another mailing list too?
>
> I still think that driver should not waste about 250kb of memory. ;)
>
> Regards,
>
> Alexander
>
> Am 30.11.2010 02:52, schrieb Gustavo F. Padovan:
>> Hi Alexander,
>>
>> * Alexander Holler<holler@ahsoftware.de>   [2010-11-22 21:09:01 +0100]:
>>
>>> There is no need to hold the firmware in memory.
>>>
>>> Signed-off-by: Alexander Holler<holler@ahsoftware.de>
>>> ---
>>>    drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
>>>    1 files changed, 20 insertions(+), 55 deletions(-)
>>>
>>> diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
>>> index 128cae4..81cd1ed 100644
>>> --- a/drivers/bluetooth/ath3k.c
>>> +++ b/drivers/bluetooth/ath3k.c
>>> @@ -43,46 +43,40 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);
>>>    #define USB_REQ_DFU_DNLOAD	1
>>>    #define BULK_SIZE		4096
>>>
>>> -struct ath3k_data {
>>> -	struct usb_device *udev;
>>> -	u8 *fw_data;
>>> -	u32 fw_size;
>>> -	u32 fw_sent;
>>> -};
>>> -
>>> -static int ath3k_load_firmware(struct ath3k_data *data,
>>> -				unsigned char *firmware,
>>> -				int count)
>>> +static int ath3k_load_firmware(struct usb_device *udev,
>>> +				const struct firmware *firmware)
>>>    {
>>>    	u8 *send_buf;
>>>    	int err, pipe, len, size, sent = 0;
>>> +	int count = firmware->size;
>>>
>>> -	BT_DBG("ath3k %p udev %p", data, data->udev);
>>> +	BT_DBG("udev %p", udev);
>>>
>>> -	pipe = usb_sndctrlpipe(data->udev, 0);
>>> +	pipe = usb_sndctrlpipe(udev, 0);
>>>
>>> -	if ((usb_control_msg(data->udev, pipe,
>>> +	send_buf = kmalloc(BULK_SIZE, GFP_ATOMIC);
>>> +	if (!send_buf) {
>>> +		BT_ERR("Can't allocate memory chunk for firmware");
>>> +		return -ENOMEM;
>>> +	}
>>> +
>>> +	memcpy(send_buf, firmware->data, 20);
>>> +	if ((err = usb_control_msg(udev, pipe,
>>>    				USB_REQ_DFU_DNLOAD,
>>>    				USB_TYPE_VENDOR, 0, 0,
>>> -				firmware, 20, USB_CTRL_SET_TIMEOUT))<   0) {
>>> +				send_buf, 20, USB_CTRL_SET_TIMEOUT))<   0) {
>>>    		BT_ERR("Can't change to loading configuration err");
>>> -		return -EBUSY;
>>> +		goto error;
>>>    	}
>>>    	sent += 20;
>>>    	count -= 20;
>> Patch looks good to me,  but I have a question here: what's 20 here? I
>> didn't figured out.
>>
>> Vikram, what's your opinion on this patch? Can you ack/nack it?
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Alex,

Sorry for late reply.
Was held up in a work.

I will check your patch and update soon.
Can you send a fresh patch cc to btlinuxmail@gmail.com

Regards,
Bala.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2010-11-22 20:09 [PATCH] ath3k: reduce memory usage Alexander Holler
  2010-11-30  1:52 ` Gustavo F. Padovan
@ 2011-01-13 19:08 ` Gustavo F. Padovan
  2011-01-13 21:25   ` Alexander Holler
  1 sibling, 1 reply; 10+ messages in thread
From: Gustavo F. Padovan @ 2011-01-13 19:08 UTC (permalink / raw)
  To: Alexander Holler
  Cc: Marcel Holtmann, Alicke Xu, Luis R. Rodriguez, Vikram Kandukuri,
	linux-bluetooth

Hi Alexander,

* Alexander Holler <holler@ahsoftware.de> [2010-11-22 21:09:01 +0100]:

> There is no need to hold the firmware in memory.
> 
> Signed-off-by: Alexander Holler <holler@ahsoftware.de>
> ---
>  drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
>  1 files changed, 20 insertions(+), 55 deletions(-)

I'm assuming you tested it a lot. Patch has been applied. Thanks.

-- 
Gustavo F. Padovan
http://profusion.mobi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2011-01-13 19:08 ` Gustavo F. Padovan
@ 2011-01-13 21:25   ` Alexander Holler
  2011-01-18 10:48     ` Bala Shanmugam
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Holler @ 2011-01-13 21:25 UTC (permalink / raw)
  To: Gustavo F. Padovan
  Cc: Marcel Holtmann, Alicke Xu, Luis R. Rodriguez, Vikram Kandukuri,
	linux-bluetooth

Hello,

On 13.01.2011 20:08, Gustavo F. Padovan wrote:
> Hi Alexander,
>
> * Alexander Holler<holler@ahsoftware.de>  [2010-11-22 21:09:01 +0100]:
>
>> There is no need to hold the firmware in memory.
>>
>> Signed-off-by: Alexander Holler<holler@ahsoftware.de>
>> ---
>>   drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
>>   1 files changed, 20 insertions(+), 55 deletions(-)
>
> I'm assuming you tested it a lot. Patch has been applied. Thanks.

Yes, I'm using it here haven't had a problem with that patch.

Thanks,

Alexander

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] ath3k: reduce memory usage
  2011-01-13 21:25   ` Alexander Holler
@ 2011-01-18 10:48     ` Bala Shanmugam
  0 siblings, 0 replies; 10+ messages in thread
From: Bala Shanmugam @ 2011-01-18 10:48 UTC (permalink / raw)
  To: Alexander Holler
  Cc: Gustavo F. Padovan, Marcel Holtmann, SongXing Xu, Luis Rodriguez,
	Vikram Kandukuri, linux-bluetooth

On 1/14/2011 2:55 AM, Alexander Holler wrote:
> Hello,
>
> On 13.01.2011 20:08, Gustavo F. Padovan wrote:
>> Hi Alexander,
>>
>> * Alexander Holler<holler@ahsoftware.de>   [2010-11-22 21:09:01 +0100]:
>>
>>> There is no need to hold the firmware in memory.
>>>
>>> Signed-off-by: Alexander Holler<holler@ahsoftware.de>
>>> ---
>>>    drivers/bluetooth/ath3k.c |   75 ++++++++++++---------------------------------
>>>    1 files changed, 20 insertions(+), 55 deletions(-)
>> I'm assuming you tested it a lot. Patch has been applied. Thanks.
> Yes, I'm using it here haven't had a problem with that patch.
>
> Thanks,
>
> Alexander
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thanks Alex for the patch.
Its working.

Regards,
Bala.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-18 10:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22 20:09 [PATCH] ath3k: reduce memory usage Alexander Holler
2010-11-30  1:52 ` Gustavo F. Padovan
2010-11-30  8:50   ` Alexander Holler
2010-12-03 10:51     ` Bala Shanmugam
2010-12-05 14:28       ` Alexander Holler
2011-01-10 16:54   ` Alexander Holler
2011-01-12 13:37     ` Bala Shanmugam
2011-01-13 19:08 ` Gustavo F. Padovan
2011-01-13 21:25   ` Alexander Holler
2011-01-18 10:48     ` Bala Shanmugam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.