Re: [PATCH v2 1/4] Add ff-memless-next driver

From: Anssi Hannula
Date: Sun Feb 23 2014 - 21:11:26 EST


24.02.2014 03:54, Michal Malý kirjoitti:
> I forgot to comment on this:
>> Stopped effects should still be able to be updated.
> Fair enough. I could not find a definitive answer to what is expected behavior
> in this case. As far as I can tell, there are following cases:
> - Effects with no duration and delay: they shall be updated right away.
> - Effects with delay: updated parameters shall be sent to the device at the
> correct time.
> - "Expired" effects with finite duration - ??? I assumed that effects with
> finite duration that have already finished playing cannot be updated because
> it does not seem to make much sense to do so.

"Expired" effects can always be played back again later - if that
happens, the updated parameters will be in effect.

> Shall such an effect be
> restarted when it is updated?

No.

> Is there any guideline I should stick to I am
> not aware of?

Only "3.7 Dynamic update of an effect" of input/ff.txt.

--
Anssi Hannula
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/