We prove infinitely many congruences modulo 3, 5, and powers of 2 for the overpartition function pˉ(n) and two smallest parts functions: spt1ˉ(n) for overpartitions and M2spt(n) for partitions without repeated odd parts. These resemble the Hecke-type congruences found by Atkin for the partition function p(n) in 1966 and Garvan for the smallest parts function spt(n) in 2010. The proofs depend on congruences between the generating functions for pˉ(n), spt1ˉ(n), and M2spt(n) and eigenforms for the half-integral weight Hecke operator T(ℓ2).