linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] spi/bcm63xx: various small cleanups and fixes
@ 2013-03-11 23:13 Jonas Gorski
       [not found] ` <1363043627-23524-1-git-send-email-jogo-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Jonas Gorski @ 2013-03-11 23:13 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Maxime Bizon, Mark Brown, Florian Fainelli, Kevin Cernekee

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(-)

-- 
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

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

end of thread, other threads:[~2013-03-11 23:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11 23:13 [PATCH 00/12] spi/bcm63xx: various small cleanups and fixes Jonas Gorski
     [not found] ` <1363043627-23524-1-git-send-email-jogo-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2013-03-11 23:13   ` [PATCH 01/12] spi/bcm63xx: Remove unused variable Jonas Gorski
2013-03-11 23:13   ` [PATCH 02/12] spi/bcm63xx: don't disable non enabled clocks in probe error path Jonas Gorski
2013-03-11 23:13   ` [PATCH 03/12] spi/bcm63xx: properly prepare clocks before enabling them Jonas Gorski
2013-03-11 23:13   ` [PATCH 04/12] spi/bcm63xx: remove duplicated mode bits check Jonas Gorski
2013-03-11 23:13   ` [PATCH 05/12] spi/bcm63xx: remove unneeded debug message Jonas Gorski
2013-03-11 23:13   ` [PATCH 06/12] spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setup Jonas Gorski
2013-03-11 23:13   ` [PATCH 07/12] spi/bcm63xx: check spi bits_per_word in spi_setup Jonas Gorski
2013-03-11 23:13   ` [PATCH 08/12] spi/bcm63xx: simplify bcm63xx_spi_check_transfer Jonas Gorski
2013-03-11 23:13   ` [PATCH 09/12] spi/bcm63xx: remove spi chip select validity check Jonas Gorski
2013-03-11 23:13   ` [PATCH 10/12] spi/bcm63xx: inline bcm63xx_spi_check_transfer Jonas Gorski
2013-03-11 23:13   ` [PATCH 11/12] spi/bcm63xx: inline hz usage in bcm63xx_spi_setup_transfer Jonas Gorski
2013-03-11 23:13   ` [PATCH 12/12] spi/bcm63xx: use devm_ioremap_resource() Jonas Gorski
2013-03-11 23:20   ` [PATCH 00/12] spi/bcm63xx: various small cleanups and fixes Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).