[alsa-devel] [PATCH 1/3] regmap: Properly round reg_bytes and val_bytes

Wolfram Sang w.sang at pengutronix.de
Mon Jan 30 14:35:29 CET 2012


> Clearly we *can* but there's other bits (chiefly the cache code once we
> acquire the ability to do block operations from cache) which really want
> stuff to be 8 bit aligned.  I deliberately chose to make things byte
> aligned so we have to think about this stuff before we do things that
> make byte aligned stuff hard, it felt like if we were going to take a
> complexity hit we probably want it to be on the odd register formats as
> pretty much all of the more demanding modern devices seem to be going
> for multiples of 8 bits.

Understood. I'd think we will find a non-intrusive way when a more generic
format_x_y-function seems worthwhile.

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120130/ca07bdb0/attachment.sig 


More information about the Alsa-devel mailing list