We brought coffee beans back from trips without any problem with TSA or CBP. Never brought ground coffee as we prefer to grind our own as we make coffee. You should not have any problem, but then again we are talking about the TSA and they don't even know how they will be operating five minutes from now.

YMMV