Re: [PATCH]: Add entity argument to MODE_AFTER macro

2012-07-19 Thread Uros Bizjak
On Wed, Jul 18, 2012 at 8:31 PM, Uros Bizjak wrote: > As with all other mode switching macros, we need to pass entity index > also to MODE_AFTER macro. In a multi-entity mode switching case, we > usually don't have same modes for all entities, and we should be able > to return the mode that appli

[PATCH]: Add entity argument to MODE_AFTER macro

2012-07-18 Thread Uros Bizjak
Hello! As with all other mode switching macros, we need to pass entity index also to MODE_AFTER macro. In a multi-entity mode switching case, we usually don't have same modes for all entities, and we should be able to return the mode that applies to a specific entity. It looks that epiphany port a