All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC cache code (looking toward 2.6.38 merge window)
@ 2010-12-20 14:50 Takashi Iwai
  2010-12-20 15:27 ` Mark Brown
  0 siblings, 1 reply; 24+ messages in thread
From: Takashi Iwai @ 2010-12-20 14:50 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, Liam Girdwood

Hi,

while I took a lazy glance over ASoC code now (well in a sort of
escapism mode), I found again soc-cache.c has many redundant codes.

It's pretty easy to do some cleanups.  After 5 minutes rewrite, over
300 LOC reduced.  But I remember you wanted to work on it for
portability, e.g. endianness.  The same problem seems still remaining,
for example, snd_socc_16_16_read_i2c() has cpu_to_be16() while no
others have such.  Any progress on this?  Or should I post you patchesf
first?

Also, for now, the new nice cache compression support is always
built-in although the additional code size isn't so negligible and its
user is just only one.  Wouldn't it be better to give new Kconfig for
them?  I'm also no big fan for small Kconfigs, but in this case, I see
no better resolution.

Since 2.6.38 merge window gets closer, we need to decide it quickly.


thanks,

Takashi

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

end of thread, other threads:[~2010-12-20 17:32 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20 14:50 ASoC cache code (looking toward 2.6.38 merge window) Takashi Iwai
2010-12-20 15:27 ` Mark Brown
2010-12-20 15:56   ` Takashi Iwai
2010-12-20 16:01     ` [PATCH 1/4] ASoC: clean up cache read/write functions Takashi Iwai
2010-12-20 16:01       ` [PATCH 2/4] ASoC: clean up spi " Takashi Iwai
2010-12-20 16:02         ` [PATCH 3/4] ASoC: clean up i2c cache read / write functions Takashi Iwai
2010-12-20 16:05           ` [PATCH 4/4] ASoC: clean up cache accesser Takashi Iwai
2010-12-20 16:27             ` Dimitris Papastamos
2010-12-20 16:47               ` Takashi Iwai
2010-12-20 16:54                 ` Mark Brown
2010-12-20 17:09                   ` Dimitris Papastamos
2010-12-20 17:22                     ` Takashi Iwai
2010-12-20 17:04                 ` Dimitris Papastamos
2010-12-20 16:42             ` Mark Brown
2010-12-20 16:57               ` Takashi Iwai
2010-12-20 17:20                 ` [PATCH 4/4] ASoC: Factor out cache_ops implementations Takashi Iwai
2010-12-20 17:29         ` [PATCH 2/4] ASoC: clean up spi cache read/write functions Mark Brown
2010-12-20 17:23       ` [PATCH 1/4] ASoC: clean up " Dimitris Papastamos
2010-12-20 17:24       ` Mark Brown
2010-12-20 17:32         ` Takashi Iwai
2010-12-20 16:34     ` ASoC cache code (looking toward 2.6.38 merge window) Mark Brown
2010-12-20 16:51       ` Takashi Iwai
2010-12-20 16:58         ` Mark Brown
2010-12-20 16:59           ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.