linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pxa_camera: remove init() callback
@ 2009-11-17 22:04 Antonio Ospite
  2009-11-17 22:04 ` [PATCH 1/3] em-x270: don't use pxa_camera " Antonio Ospite
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Antonio Ospite @ 2009-11-17 22:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

this series removes the init() callback from pxa_camera_platform_data, and
fixes its users to do initialization statically at machine init time.

Guennadi requested this change because there seems to be no use cases for
dynamic initialization. I also believe that the current semantics for this
init() callback is ambiguous anyways, it is invoked in pxa_camera_activate(),
hence at device node open, but its users use it like a generic initialization
to be done at module init time (configure MFP, request GPIOs for *sensor*
control).

So removing it is definitely good.
As a side note, If we were really exposing some dynamic and generic
initialization, this could be done in soc-camera itself, not in pxa_camera
anyways.

Thanks,
   Antonio

Antonio Ospite (3):
  em-x270: don't use pxa_camera init() callback
  pcm990-baseboard: don't use pxa_camera init() callback
  pxa_camera: remove init() callback

 arch/arm/mach-pxa/em-x270.c             |    9 +++++----
 arch/arm/mach-pxa/include/mach/camera.h |    2 --
 arch/arm/mach-pxa/pcm990-baseboard.c    |    8 +-------
 drivers/media/video/pxa_camera.c        |   10 ----------
 4 files changed, 6 insertions(+), 23 deletions(-)

--
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

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

end of thread, other threads:[~2009-11-29  2:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-17 22:04 [PATCH 0/3] pxa_camera: remove init() callback Antonio Ospite
2009-11-17 22:04 ` [PATCH 1/3] em-x270: don't use pxa_camera " Antonio Ospite
2009-11-18  6:34   ` Mike Rapoport
2009-11-18 10:10   ` Guennadi Liakhovetski
2009-11-18 17:02     ` Antonio Ospite
2009-11-27 20:30     ` [PATCH 1/3 v2] " Antonio Ospite
2009-11-17 22:04 ` [PATCH 2/3] pcm990-baseboard: " Antonio Ospite
2009-11-18 10:12   ` Guennadi Liakhovetski
2009-11-18 10:39     ` Juergen Beisert
2009-11-27 20:31     ` [PATCH 2/3 v2] " Antonio Ospite
2009-11-29  2:29       ` Eric Miao
2009-11-17 22:04 ` [PATCH 3/3] pxa_camera: remove " Antonio Ospite
2009-11-27 14:06   ` Guennadi Liakhovetski
2009-11-27 14:32     ` Antonio Ospite
2009-11-27 14:37       ` Guennadi Liakhovetski
2009-11-27 14:47         ` Antonio Ospite
2009-11-27 20:39 ` [PATCH 0/3] " Antonio Ospite
2009-11-29  2:25   ` Eric Miao

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