[PATCH v2] staging/gdm72xx: gdm_wimax: fix compile error when enable debug

2012-09-29 Thread Macpaul Lin
Fix compile error when enable DEBUG_SDU and DEBUG_HCI. Replace deprecated NIPQUAD marco to C code. Signed-off-by: Macpaul Lin Cc: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman Cc: Dan Carpenter --- Changes for v2: - Fix Cc-list. drivers/staging/gdm72xx

[PATCH] staging/gdm72xx: gdm_wimax: fix compile error when enable debug

2012-09-28 Thread Macpaul Lin
Fix compile error when enable DEBUG_SDU and DEBUG_HCI. Replace deprecated NIPQUAD marco to C code. Signed-off-by: Macpaul Lin --- drivers/staging/gdm72xx/gdm_wimax.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging

[PATCH] staging/gdm72xx: sdio_boot: replace firmware upgrade API

2012-09-27 Thread Macpaul Lin
Replace firmware upgrade API in download_image(). Signed-off-by: Macpaul Lin Cc: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman Cc: Dan Carpenter --- drivers/staging/gdm72xx/sdio_boot.c | 81 +++-- 1 file changed, 42

Re: [PATCH v3] staging/gdm72xx: usb_boot: replace firmware upgrade API in em_download

2012-09-17 Thread Macpaul Lin
Hi Greg, 2012/9/17 Greg Kroah-Hartman : > On Fri, Sep 14, 2012 at 02:02:04PM +0800, Macpaul Lin wrote: >> Replace firmware upgrade API in em_download_image(). >> #define FW_UIMG "gdmuimg.bin" >> -#define KERN_PATH"/lib/

[PATCH v3] staging/gdm72xx: usb_boot: replace firmware upgrade API in em_download

2012-09-13 Thread Macpaul Lin
Replace firmware upgrade API in em_download_image(). Signed-off-by: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman Cc: Dan Carpenter --- Changes for v2: - Correction the procedure in em_download_image() and usb_emergency() - keep "goto ou

Re: [PATCH v2 3/3] staging/gdm72xx: usb_boot: replace firmware upgrade API in em_download

2012-09-13 Thread Macpaul Lin
hes at first if there is no other further fixing is required. I'll send the Patch v3 only for this em_download_image() patch later according to your suggestion. :-) Thanks! -- Best regards, Macpaul Lin ___ devel mailing list devel@l

[PATCH v2 3/3] staging/gdm72xx: usb_boot: replace firmware upgrade API in em_download

2012-09-13 Thread Macpaul Lin
Replace firmware upgrade API in em_download_image(). Signed-off-by: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman Cc: Dan Carpenter --- Changes for v2: - Correction the procedure in em_download_image() and usb_emergency() - keep "goto ou

[PATCH v2 2/3] staging/gdm72xx: usb_boot: replace firmware upgrade API

2012-09-13 Thread Macpaul Lin
Replace file I/O of reading firmware usb_boot() by request_firmware(). Signed-off-by: Macpaul Lin --- Changes for v2: - Split coding style clean up into another patch. - Split fixing for em_download_image() to another patch. - Refine procedure in download_image() makes eaiser to be

[PATCH v2 1/3] staging/gdm72xx: usb_boot: coding style cleanup

2012-09-13 Thread Macpaul Lin
1. Coding style re-formatting (tabs). 2. Remove unused MIN() marco. Signed-off-by: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman Cc: Dan Carpenter --- drivers/staging/gdm72xx/usb_boot.c | 36 +--- 1 file changed, 17 insertions

[PATCH 2/2] staging/gdm72xx: gdm_usb coding style clean up

2012-09-12 Thread Macpaul Lin
gdm_usb.* coding style clean up. Signed-off-by: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman --- drivers/staging/gdm72xx/gdm_usb.c | 10 +- drivers/staging/gdm72xx/gdm_usb.h | 16 2 files changed, 13 insertions(+), 13 deletions

[PATCH 1/2] staging/gdm72xx: usb_boot: replace firmware upgrade API

2012-09-12 Thread Macpaul Lin
1. Replace file I/O of reading firmware by request_firmware(). 2. Coding style clean up. Signed-off-by: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman --- drivers/staging/gdm72xx/usb_boot.c | 207 ++--- 1 file changed, 99

[PATCH] staging/gdm72xx: remove camel-case vars in gdm_qos

2012-09-11 Thread Macpaul Lin
Remove camel-case variables in gdm_qos.h and gdm_qos.c Signed-off-by: Macpaul Lin Cc: Paul Stewart Cc: Ben Chan Cc: Sage Ahn Cc: Greg Kroah-Hartman --- drivers/staging/gdm72xx/gdm_qos.c | 118 +++--- drivers/staging/gdm72xx/gdm_qos.h | 58