public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] Remaining coding style clean up of AS102 driver
@ 2011-11-06 20:31 Sylwester Nawrocki
  2011-11-06 20:31 ` [PATCH 01/13] staging: as102: Remove comment tags for editors configuration Sylwester Nawrocki
                   ` (14 more replies)
  0 siblings, 15 replies; 21+ messages in thread
From: Sylwester Nawrocki @ 2011-11-06 20:31 UTC (permalink / raw)
  To: linux-media; +Cc: Piotr Chmura, Devin Heitmueller, Mauro Carvalho Chehab

Hello,

the following patch set is a further cleanup of the AS102 DVB-T receiver 
driver. I'm not sure if there are more issues to address before moving 
the driver to drivers/media/dvb/, but checkpatch.pl seems now to be fairly
happy about the driver's state:

8<------
$ scripts/checkpatch.pl -f drivers/staging/media/as102/*.[ch]
WARNING: line over 80 characters
#137: FILE: staging/media/as102/as102_drv.c:137:
+		dprintk(debug, "ADD_PID_FILTER([%02d -> %02d], 0x%04x) ret = %d\n",

total: 0 errors, 1 warnings, 319 lines checked

drivers/staging/media/as102/as102_drv.c has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 0 warnings, 106 lines checked

drivers/staging/media/as102/as102_drv.h has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 599 lines checked

drivers/staging/media/as102/as102_fe.c has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 241 lines checked

drivers/staging/media/as102/as102_fw.c has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 38 lines checked

drivers/staging/media/as102/as102_fw.h has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 476 lines checked

drivers/staging/media/as102/as102_usb_drv.c has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 58 lines checked

drivers/staging/media/as102/as102_usb_drv.h has no obvious style problems and is ready for submission.
WARNING: line over 80 characters
#349: FILE: staging/media/as102/as10x_cmd.c:349:
+		le32_to_cpu(prsp->body.get_demod_stats.rsp.stats.bad_frame_count);

WARNING: line over 80 characters
#351: FILE: staging/media/as102/as10x_cmd.c:351:
+		le32_to_cpu(prsp->body.get_demod_stats.rsp.stats.bytes_fixed_by_rs);

total: 0 errors, 2 warnings, 453 lines checked

drivers/staging/media/as102/as10x_cmd.c has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 0 warnings, 215 lines checked

drivers/staging/media/as102/as10x_cmd_cfg.c has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 529 lines checked

drivers/staging/media/as102/as10x_cmd.h has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 223 lines checked

drivers/staging/media/as102/as10x_cmd_stream.c has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 54 lines checked

drivers/staging/media/as102/as10x_handle.h has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 194 lines checked

drivers/staging/media/as102/as10x_types.h has no obvious style problems and is ready for submission.
---->8

Thanks to Piotr Chmura for initially reviewing the series.

The patches can be pulled from:
git://gitorious.org/linux-media/media_tree.git staging_media_as102_cleanup

The driver has been tested with PCTV picoStick (74e) DVB-T tuner. 

The only issue I observed is at first run MeTV displays 
"Failed to lock channel" error instead of playing the last selected 
channel immediately.

I'm rather not planning to be doing much more work on this driver.

--
Thanks,
Sylwester


Piotr Chmura (1):
  staging: as102: Remove comment tags for editors configuration

Sylwester Nawrocki (12):
  staging: as102: Remove unnecessary typedefs
  staging: as102: Remove leftovers of the SPI bus driver
  staging: as102: Make the driver select CONFIG_FW_LOADER
  staging: as102: Replace pragma(pack) with attribute __packed
  staging: as102: Fix the dvb device registration error path
  staging: as102: Whitespace and indentation cleanup
  staging: as102: Replace printk(KERN_<LEVEL> witk pr_<level>
  staging: as102: Remove linkage specifiers for C++
  staging: as102: Use linux/uaccess.h instead of asm/uaccess.h
  staging: as102: Move variable declarations to the header
  staging: as102: Define device name string pointers constant
  staging: as102: Eliminate as10x_handle_t alias

 drivers/staging/media/as102/Kconfig            |    1 +
 drivers/staging/media/as102/Makefile           |    2 +-
 drivers/staging/media/as102/as102_drv.c        |  126 ++---
 drivers/staging/media/as102/as102_drv.h        |   59 +--
 drivers/staging/media/as102/as102_fe.c         |    4 -
 drivers/staging/media/as102/as102_fw.c         |   44 +-
 drivers/staging/media/as102/as102_fw.h         |   10 +-
 drivers/staging/media/as102/as102_usb_drv.c    |   34 +-
 drivers/staging/media/as102/as102_usb_drv.h    |    1 -
 drivers/staging/media/as102/as10x_cmd.c        |  139 ++--
 drivers/staging/media/as102/as10x_cmd.h        |  895 ++++++++++++------------
 drivers/staging/media/as102/as10x_cmd_cfg.c    |   66 +-
 drivers/staging/media/as102/as10x_cmd_stream.c |   56 +-
 drivers/staging/media/as102/as10x_handle.h     |   26 +-
 drivers/staging/media/as102/as10x_types.h      |  250 ++++----
 15 files changed, 804 insertions(+), 909 deletions(-)

-- 
1.7.5.4

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

end of thread, other threads:[~2011-11-17 16:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-06 20:31 [PATCH 00/13] Remaining coding style clean up of AS102 driver Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 01/13] staging: as102: Remove comment tags for editors configuration Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 02/13] staging: as102: Remove unnecessary typedefs Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 03/13] staging: as102: Remove leftovers of the SPI bus driver Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 04/13] staging: as102: Make the driver select CONFIG_FW_LOADER Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 05/13] staging: as102: Replace pragma(pack) with attribute __packed Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 06/13] staging: as102: Fix the dvb device registration error path Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 07/13] staging: as102: Whitespace and indentation cleanup Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 08/13] staging: as102: Replace printk(KERN_<LEVEL> witk pr_<level> Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 09/13] staging: as102: Remove linkage specifiers for C++ Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 10/13] staging: as102: Use linux/uaccess.h instead of asm/uaccess.h Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 11/13] staging: as102: Move variable declarations to the header Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 12/13] staging: as102: Define device name string pointers constant Sylwester Nawrocki
2011-11-06 20:31 ` [PATCH 13/13] staging: as102: Eliminate as10x_handle_t alias Sylwester Nawrocki
     [not found] ` <4EB7F709.2050503@gmail.com>
2011-11-07 19:55   ` [PATCH 00/13] Remaining coding style clean up of AS102 driver Sylwester Nawrocki
     [not found]   ` <4EB802A0.7030600@gmail.com>
2011-11-07 19:57     ` Sylwester Nawrocki
2011-11-07 20:06       ` Devin Heitmueller
2011-11-08 13:36 ` Mauro Carvalho Chehab
2011-11-08 22:40   ` Sylwester Nawrocki
2011-11-08 23:16   ` [PATCH] staging: as102: Add missing function argument Sylwester Nawrocki
2011-11-17 16:35     ` [PATCH] staging: as102: Add support for Sky Italia Digital Key based on the same chip Gianluca Gennari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox