Khomeini obviously had many problems, but he had one clever side to him. He never made economic promises to people and as a result, he never led to dissatisfaction in this perspective. Because they need to get votes, they use misleading slogans. And this leads to rising expectations. I had a personal experience.
William James once made an acute point about the relationship between happiness and expectation. He argued that satisfaction with ourselves does not require us to succeed in every endeavour. We are not always humiliated by failing; we are humiliated only if we first invest our pride and sense of worth in a given achievement and then do not reach it.
We fight for lost causes because we know that our defeat and dismay may be the preface to our successors' victory, though that victory itself will be temporary; we fight rather to keep something alive than in the expectation that anything will triumph.
There are varieties of theories of revolution. According to one of these theories, only one of these theories, revolutions occur when there is an explosion of rising expectation. And amongst the lower strata in Iranian society, we are witnessing an increasing rise of the expectation and it's clear that the regime is incapable of satisfying these demands.