Skip to content

spi/bcm63xx: various small cleanups and fixes

Jonas Gorski linux-spi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12spi/bcm63xx: Remove unused variabledrivers/spi/spi-bcm63xx.c+0 -10 replies
2/12spi/bcm63xx: don't disable non enabled clocks in probe error pathdrivers/spi/spi-bcm63xx.c+1 -10 replies
3/12spi/bcm63xx: properly prepare clocks before enabling themdrivers/spi/spi-bcm63xx.c+5 -50 replies
4/12spi/bcm63xx: remove duplicated mode bits checkdrivers/spi/spi-bcm63xx.c+0 -60 replies
5/12spi/bcm63xx: remove unneeded debug messagedrivers/spi/spi-bcm63xx.c+0 -30 replies
6/12spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setupdrivers/spi/spi-bcm63xx.c+0 -40 replies
7/12spi/bcm63xx: check spi bits_per_word in spi_setupdrivers/spi/spi-bcm63xx.c+5 -20 replies
8/12spi/bcm63xx: simplify bcm63xx_spi_check_transferdrivers/spi/spi-bcm63xx.c+2 -50 replies
9/12spi/bcm63xx: remove spi chip select validity checkdrivers/spi/spi-bcm63xx.c+0 -60 replies
10/12spi/bcm63xx: inline bcm63xx_spi_check_transferdrivers/spi/spi-bcm63xx.c+5 -140 replies
11/12spi/bcm63xx: inline hz usage in bcm63xx_spi_setup_transferdrivers/spi/spi-bcm63xx.c+2 -50 replies
12/12spi/bcm63xx: use devm_ioremap_resource()drivers/spi/spi-bcm63xx.c+3 -120 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFlorian Fainelli
SeriesA-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] spi/bcm63xx: various small cleanups and fixes

This patch series cleans up spi-bcm63xx and removes mostly redundant checks that are already done by the spi core system itself, and also adds some clock handling improvements. All in all nothing serious, just some corner cases.

The only Patch I'm not 100% sure about is patch 7/12 ("check spi bits_per_word in spi_setup"), because I'm not sure if setup is the right place for that.

For all we care the spi can claim what it wants as its bit_per_word as long as all transfers have it set to 8, so arguably we maybe shouldn't reject it then.

Jonas Gorski (11):
spi/bcm63xx: don't disable non enabled clocks in probe error path spi/bcm63xx: properly prepare clocks before enabling them spi/bcm63xx: remove duplicated mode bits check spi/bcm63xx: remove unneeded debug message spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setup spi/bcm63xx: check spi bits_per_word in spi_setup spi/bcm63xx: simplify bcm63xx_spi_check_transfer spi/bcm63xx: remove spi chip select validity check spi/bcm63xx: inline bcm63xx_spi_check_transfer spi/bcm63xx: inline hz usage in bcm63xx_spi_setup_transfer spi/bcm63xx: use devm_ioremap_resource()

Kevin Cernekee (1):
spi/bcm63xx: Remove unused variable

 drivers/spi/spi-bcm63xx.c |   79 +++++++++++----------------------------------
 1 file changed, 19 insertions(+), 60 deletions(-)
Signature · 9 lines
1.7.10.4


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev