How to make driver non-blocking

In reply to srbeeram:
You can use a queue to store all seq item from sequencer and call item done. Later retrieve the item as per convenience.