[PATCH] staging: sm7xxfb: copy device name before we pass to the smtc_alloc_fb_info

2012-08-26 Thread Devendra Naga
the name is not initialised and passed to the function smtc_alloc_fb_info and copies the name into a member of fb structure. copy the name before calling alloc_fb_info. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/staging/sm7xxfb/sm7xxfb.c |3 ++- 1 file changed, 2

[PATCH] staging: slicoss: return early before calling request_firmware with empty firmware filename

2012-08-26 Thread Devendra Naga
when the device id doesn't match in slic_card_download_gbrcv the filename is , i.e an empty name, and we try calling request_firmware with that name, actually we can just fail out at default case before even calling request_firmware Signed-off-by: Devendra Naga devendra.a...@gmail.com ---

[PATCH] staging: slicoss: release firmware before returning

2012-08-26 Thread Devendra Naga
we request_firmware in slic_card_download_gbrcv and we return out with out calling release_firmware, where we compare against a firmware lengths of certain device ids. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/staging/slicoss/slicoss.c |8 ++-- 1 file changed, 6

[PATCH 1/3]NEXT:staging vt6656 Fix typos in comments, and in a printk message.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- Note: the following three patches need to be applied in order for the correct alignment of the patche(s). The below patch fixes typos found while reading through staging vt6656. these

[PATCH 2/3]NEXT:staging vt6656 Typo rename Caculate to Calculate.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- The below patches renames Caculate to Calculate. drivers/staging/vt6656/baseband.c |4 ++-- drivers/staging/vt6656/baseband.h |2 +- drivers/staging/vt6656/card.c | 28

[PATCH 3/3]NEXT:staging vt6656 Typo rename Embeded to Embedded.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- The below patch renames Embeded to Embedded. drivers/staging/vt6656/rf.c | 52 +-- drivers/staging/vt6656/rf.h |2 +- 2 files changed, 27

[PATCH 1/13] drivers/staging/iio/adc/spear_adc.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

Re: [PATCH 1/13] drivers/staging/iio/adc/spear_adc.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread viresh kumar
On Sun, Aug 26, 2012 at 9:30 PM, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare