Using of cached values

Mogambo Park mogambo.kztrj at gmail.com
Sat Mar 20 05:22:43 EDT 2010


good morning

  I wants to know - How safe to read register values one time in a structure
and use value from there, assume no write is performed on the
register? I see many
files in sound/soc/codec/ do that.

is it becos sometime the register may return not accurate value on
busy bus by h/w mistake?
OR I should always read from register even if his value is not
expected to change?

lot thanks



More information about the linux-arm-kernel mailing list