linux: Clear media states on flush
Merge pull request #3720 from fritsch/ivb-flush-media-caches

linux: Clear media states on flush